提交 7f289c3b 编写于 作者: A antirez

Improve comment in flushSlavesOutputBuffers().

上级 7ab62d4b
......@@ -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))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册