-
Notifications
You must be signed in to change notification settings - Fork 472
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
feat: add CLIENT PAUSE and CLIENT REPLY subcommands #2495
base: unstable
Are you sure you want to change the base?
Conversation
feat(command): add CLIENT REPLY subcommand
@furkan-bilgin Thanks for your contribution. Could you please help to pass the CI lint according to https://github.com/apache/kvrocks/actions/runs/10441248380/job/28912245323?pr=2495 |
Quality Gate passedIssues Measures |
@furkan-bilgin Looks good if you can add some Go test cases to cover this. And another point is that we should disable the |
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.
Some tests should be added to demonstrate the functionality of the software as it includes changes in the critical execution path.
This PR is a part of #2422
I have added two subcommands for the command
CLIENT
:CLIENT PAUSE
: Pauses processing of eitherWRITE
orALL
commands until aftertimeout
milliseconds.CLIENT REPLY
: Stops server from sending replies to the client, starting; immediately ifOFF
, or skips one ifSKIP
. Starts sending replies ifON
.