-
Notifications
You must be signed in to change notification settings - Fork 790
Disallowing Client Reply is On / Off / Skip when Client is Multi #1966
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: unstable
Are you sure you want to change the base?
Disallowing Client Reply is On / Off / Skip when Client is Multi #1966
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## unstable #1966 +/- ##
============================================
- Coverage 70.97% 70.97% -0.01%
============================================
Files 123 123
Lines 66135 66137 +2
============================================
Hits 46941 46941
- Misses 19194 19196 +2
🚀 New features to boost your workflow:
|
3507e38
to
9ac8ad0
Compare
@madolson this should require a doc change as well right? |
Future note for those that are looking at this. This is a breaking change, but the client protocol is already broken by this change. @valkey-io/core-team just a ping to see if anything has changed since our previous conversations. I'll merge this if I don't hear back. |
High-level approved by me. I didn't immediately understand the problem so I read the issue. Then I edited the top comment to explain what was broken. Please correct it if I got it wrong. |
@sarthakaggarwal97 Yeah, we should probably update the docs, good point. |
Signed-off-by: Sarthak Aggarwal <sarthagg@amazon.com>
Signed-off-by: Sarthak Aggarwal <sarthagg@amazon.com>
Signed-off-by: Sarthak Aggarwal <sarthagg@amazon.com>
Signed-off-by: Sarthak Aggarwal <sarthagg@amazon.com>
cbe73b8
to
600f700
Compare
@madolson I have raised a doc PR as well. Let me know if everything looks good, thank you! |
Return an error when we try to perform
CLIENT REPLY
command underMULTI/EXEC
.Without this change, if
CLIENT REPLY
is used in a transaction, it causesEXEC
to return broken RESP protocol, with a multi-bulk length mismatching the actual number of multi-bulk elements.Resolves #1268