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
7f289c3b
Commit
7f289c3b
authored
Aug 31, 2019
by
antirez
Browse files
Improve comment in flushSlavesOutputBuffers().
parent
7ab62d4b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/networking.c
View file @
7f289c3b
...
...
@@ -2149,7 +2149,8 @@ void flushSlavesOutputBuffers(void) {
* case the writable event is never installed, since the purpose
* of put_online_on_ack is to postpone the moment it is installed.
* This is what we want since slaves in this state should not receive
* writes before the first ACK. */
* writes before the first ACK (to know the reason, grep for this
* flag in this file). */
if
(
slave
->
replstate
==
SLAVE_STATE_ONLINE
&&
!
slave
->
repl_put_online_on_ack
&&
clientHasPendingReplies
(
slave
))
...
...
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