-
Notifications
You must be signed in to change notification settings - Fork 23.5k
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
Fix the bug that CLIENT REPLY OFF|SKIP cannot receive push notifications #11875
Merged
oranagra
merged 12 commits into
redis:unstable
from
enjoy-binbin:pubsub_client_reply_off_skip
Mar 12, 2023
Merged
Fix the bug that CLIENT REPLY OFF|SKIP cannot receive push notifications #11875
oranagra
merged 12 commits into
redis:unstable
from
enjoy-binbin:pubsub_client_reply_off_skip
Mar 12, 2023
Commits on Mar 2, 2023
-
Fix the bug that CLIENT REPLY OFF|SKIP cannot receive Pub/Sub messages
This bug seems to be there forever, CLIENT REPLY OFF|SKIP will mark the client with CLIENT_REPLY_OFF or CLIENT_REPLY_SKIP flags. With these flags, prepareClientToWrite called by addReply* will return C_ERR directly. So the client can't receive the Pub/Sub messages. In this PR, we clear these flags when sending Pub/Sub messages, and restore them after sending if any. Fixes redis#11874
Configuration menu - View commit details
-
Copy full SHA for de7ce6f - Browse repository at this point
Copy the full SHA de7ce6fView commit details
Commits on Mar 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3154474 - Browse repository at this point
Copy the full SHA 3154474View commit details
Commits on Mar 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9e6194d - Browse repository at this point
Copy the full SHA 9e6194dView commit details -
Configuration menu - View commit details
-
Copy full SHA for eb7f4bf - Browse repository at this point
Copy the full SHA eb7f4bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 84a70cf - Browse repository at this point
Copy the full SHA 84a70cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7786a93 - Browse repository at this point
Copy the full SHA 7786a93View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a8fc31 - Browse repository at this point
Copy the full SHA 9a8fc31View commit details
Commits on Mar 8, 2023
-
Co-authored-by: Oran Agra <oran@redislabs.com>
Configuration menu - View commit details
-
Copy full SHA for c0e90ec - Browse repository at this point
Copy the full SHA c0e90ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 955c5a2 - Browse repository at this point
Copy the full SHA 955c5a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 03cb230 - Browse repository at this point
Copy the full SHA 03cb230View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b962e7 - Browse repository at this point
Copy the full SHA 0b962e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7635f73 - Browse repository at this point
Copy the full SHA 7635f73View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.