-
Notifications
You must be signed in to change notification settings - Fork 24.4k
sub-command support for ACL CAT and COMMAND LIST. redisCommand always stores fullname #10127
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
Conversation
|
@redis/core-team listing sub-commands in ACL CAT and COMMAND LIST. |
|
@enjoy-binbin i'm done reviewing the lat batch of changes |
|
@guybe7 thank you very much for the review.. sorry for not doing it perfectly, i will take a deep look tomorrow |
|
trigger a full CI in this branch: https://github.com/enjoy-binbin/redis/actions/runs/1729975896 |
|
@enjoy-binbin gave it another top to bottom review, and last round of comments. |
Co-authored-by: Oran Agra <oran@redislabs.com> Co-authored-by: guybe7 <guy.benoish@redislabs.com>
|
@oranagra thanks for the review / patience. I checked all the comments. |
|
a little unrelated cleanup is ok.. and in this case much of it is NOT unrelated. we could even consider not to rename |
yossigo
left a comment
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.
LGTM (based on top comment, did not CR).
Summary of changes:
redisCommand->nametoredisCommand->declared_name, it is a const char * for native commands and SDS for module commands.redisCommand->fullname(sds).ACL CATCOMMAND LISTmoduleUnregisterCommandsnow will also free the module subcommands.Other changes:
addReplyErrorArityandaddReplyErrorExpireTimegetFullCommandNamefunction that now is useless.fullnamesince now it is SDS.populateSingleCommandfunction from server.h that is useless.see the history in #9504, fixes #10124