summaryrefslogtreecommitdiff
path: root/src/aof.c
diff options
context:
space:
mode:
authorBinbin <binloveplay1314@qq.com>2022-06-30 21:32:40 +0800
committerGitHub <noreply@github.com>2022-06-30 16:32:40 +0300
commit35e836c26d40447f337979a61bb8cb3ed0575796 (patch)
tree3dbac4dbc977ea266ab15cb69eaab865aa11bc36 /src/aof.c
parent51da5c3dde38b138c68733977e53eee789e51d10 (diff)
downloadredis-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