diff options
author | Binbin <binloveplay1314@qq.com> | 2022-06-30 21:32:40 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-30 16:32:40 +0300 |
commit | 35e836c26d40447f337979a61bb8cb3ed0575796 (patch) | |
tree | 3dbac4dbc977ea266ab15cb69eaab865aa11bc36 /src/aof.c | |
parent | 51da5c3dde38b138c68733977e53eee789e51d10 (diff) | |
download | redis-35e836c26d40447f337979a61bb8cb3ed0575796.tar.gz |
Add SENTINEL command flag to CLIENT/COMMANDS subcommands (#10904)
This was harmless because we marked the parent command
with SENTINEL flag. So the populateCommandTable was ok.
And we also don't show the flag (SENTINEL and ONLY-SENTNEL)
in COMMAND INFO.
In this PR, we also add the same CMD_SENTINEL and CMD_ONLY_SENTINEL
flags check when populating the sub-commands.
so that in the future it'll be possible to add some sub-commands to sentinel or sentinel-only but not others.
Diffstat (limited to 'src/aof.c')
0 files changed, 0 insertions, 0 deletions