Fix a mistake in comments (#10312)
There is no variable named by REPL_STATE_RECEIVE_PSYNC_REPLY, it should be REPL_STATE_RECEIVE_PSYNC_REPLY according to the contexts.
This commit is contained in:
parent
c0ea77f0e1
commit
9b0fd9f4d0
@ -2720,7 +2720,7 @@ void syncWithMaster(connection *conn) {
|
||||
return;
|
||||
}
|
||||
|
||||
/* If reached this point, we should be in REPL_STATE_RECEIVE_PSYNC. */
|
||||
/* If reached this point, we should be in REPL_STATE_RECEIVE_PSYNC_REPLY. */
|
||||
if (server.repl_state != REPL_STATE_RECEIVE_PSYNC_REPLY) {
|
||||
serverLog(LL_WARNING,"syncWithMaster(): state machine error, "
|
||||
"state should be RECEIVE_PSYNC but is %d",
|
||||
|
Loading…
x
Reference in New Issue
Block a user