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
611e1173
Unverified
Commit
611e1173
authored
May 03, 2021
by
Wen Hui
Committed by
GitHub
May 03, 2021
Browse files
Add missing NOLOOP tracking flag in help (#8892)
parent
f3ee2d98
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/networking.c
View file @
611e1173
...
@@ -2485,7 +2485,7 @@ void clientCommand(client *c) {
...
@@ -2485,7 +2485,7 @@ void clientCommand(client *c) {
"UNBLOCK <clientid> [TIMEOUT|ERROR]"
,
"UNBLOCK <clientid> [TIMEOUT|ERROR]"
,
" Unblock the specified blocked client."
,
" Unblock the specified blocked client."
,
"TRACKING (ON|OFF) [REDIRECT <id>] [BCAST] [PREFIX <prefix> [...]]"
,
"TRACKING (ON|OFF) [REDIRECT <id>] [BCAST] [PREFIX <prefix> [...]]"
,
" [OPTIN] [OPTOUT]"
,
" [OPTIN] [OPTOUT]
[NOLOOP]
"
,
" Control server assisted client side caching."
,
" Control server assisted client side caching."
,
"TRACKINGINFO"
,
"TRACKINGINFO"
,
" Report tracking status for the current connection."
,
" Report tracking status for the current connection."
,
...
@@ -2721,7 +2721,7 @@ NULL
...
@@ -2721,7 +2721,7 @@ NULL
addReply
(
c
,
shared
.
ok
);
addReply
(
c
,
shared
.
ok
);
}
else
if
(
!
strcasecmp
(
c
->
argv
[
1
]
->
ptr
,
"tracking"
)
&&
c
->
argc
>=
3
)
{
}
else
if
(
!
strcasecmp
(
c
->
argv
[
1
]
->
ptr
,
"tracking"
)
&&
c
->
argc
>=
3
)
{
/* CLIENT TRACKING (on|off) [REDIRECT <id>] [BCAST] [PREFIX first]
/* CLIENT TRACKING (on|off) [REDIRECT <id>] [BCAST] [PREFIX first]
* [PREFIX second] [OPTIN] [OPTOUT] ... */
* [PREFIX second] [OPTIN] [OPTOUT]
[NOLOOP]
... */
long
long
redir
=
0
;
long
long
redir
=
0
;
uint64_t
options
=
0
;
uint64_t
options
=
0
;
robj
**
prefix
=
NULL
;
robj
**
prefix
=
NULL
;
...
...
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