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
94b3ee61
Commit
94b3ee61
authored
Jul 03, 2018
by
antirez
Browse files
Clarify the pending_querybuf field of clients.
parent
549b8b99
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server.h
View file @
94b3ee61
...
...
@@ -700,9 +700,10 @@ typedef struct client {
redisDb
*
db
;
/* Pointer to currently SELECTed DB. */
robj
*
name
;
/* As set by CLIENT SETNAME. */
sds
querybuf
;
/* Buffer we use to accumulate client queries. */
sds
pending_querybuf
;
/* If this is a master, this buffer represents the
yet not applied replication stream that we
are receiving from the master. */
sds
pending_querybuf
;
/* If this client is flagged as master, this buffer
represents the yet not applied portion of the
replication stream that we are receiving from
the master. */
size_t
querybuf_peak
;
/* Recent (100ms or more) peak of querybuf size. */
int
argc
;
/* Num of arguments of current command. */
robj
**
argv
;
/* Arguments of current command. */
...
...
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