-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Hitless upgrades #3142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Hitless upgrades #3142
Conversation
smigrating notification should effect in increased command and socket timeout for the given connection
27090dd to
9087f81
Compare
9087f81 to
3f288aa
Compare
Buffer.equals() was failing when reply[0] was a string instead of a Buffer, causing hangs on push notifications. Now converts strings to Buffers before comparison in PubSub and commands-queue handlers. Changes: - PubSub.isStatusReply: convert reply[0] to Buffer if string - PubSub.isShardedUnsubscribe: convert reply[0] to Buffer if string - PubSub.handleMessageReply: convert reply[0] to Buffer if string - commands-queue PONG handler: convert reply[0] to Buffer if string
3f288aa to
a8a4525
Compare
a6aa6bd to
9e052d3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ The following Jit checks failed to run:
- secret-detection-trufflehog
- static-code-analysis-semgrep-pro
#jit_bypass_commit in this PR to bypass, Jit Admin privileges required.
More info in the Jit platform.
9e49969 to
9e052d3
Compare
❌ Security scan failedSecurity scan failed: Branch hitless-upgrades does not exist in the remote repository 💡 Need to bypass this check? Comment |
❌ Security scan failedSecurity scan failed: Branch hitless-upgrades does not exist in the remote repository 💡 Need to bypass this check? Comment |
Description
Checklist
npm testpass with this change (including linting)?