Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
d2af0f25
Unverified
Commit
d2af0f25
authored
Oct 26, 2020
by
Itamar Haber
Committed by
GitHub
Oct 26, 2020
Browse files
Adds command introspection to Sentinel (#7940)
Adds the `COMMAND` command to Sentinel.
parent
27f4c212
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/sentinel.c
View file @
d2af0f25
...
@@ -466,7 +466,8 @@ struct redisCommand sentinelcmds[] = {
...
@@ -466,7 +466,8 @@ struct redisCommand sentinelcmds[] = {
{
"shutdown"
,
shutdownCommand
,
-
1
,
"admin"
,
0
,
NULL
,
0
,
0
,
0
,
0
,
0
},
{
"shutdown"
,
shutdownCommand
,
-
1
,
"admin"
,
0
,
NULL
,
0
,
0
,
0
,
0
,
0
},
{
"auth"
,
authCommand
,
-
2
,
"no-auth fast @connection"
,
0
,
NULL
,
0
,
0
,
0
,
0
,
0
},
{
"auth"
,
authCommand
,
-
2
,
"no-auth fast @connection"
,
0
,
NULL
,
0
,
0
,
0
,
0
,
0
},
{
"hello"
,
helloCommand
,
-
2
,
"no-auth fast @connection"
,
0
,
NULL
,
0
,
0
,
0
,
0
,
0
},
{
"hello"
,
helloCommand
,
-
2
,
"no-auth fast @connection"
,
0
,
NULL
,
0
,
0
,
0
,
0
,
0
},
{
"acl"
,
aclCommand
,
-
2
,
"admin"
,
0
,
NULL
,
0
,
0
,
0
,
0
,
0
,
0
}
{
"acl"
,
aclCommand
,
-
2
,
"admin"
,
0
,
NULL
,
0
,
0
,
0
,
0
,
0
,
0
},
{
"command"
,
commandCommand
,
-
1
,
"random @connection"
,
0
,
NULL
,
0
,
0
,
0
,
0
,
0
,
0
}
};
};
/* This function overwrites a few normal Redis config default with Sentinel
/* This function overwrites a few normal Redis config default with Sentinel
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment