Unverified Commit 9b0fd9f4 authored by rangerzhang's avatar rangerzhang Committed by GitHub
Browse files

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.
parent c0ea77f0
...@@ -2720,7 +2720,7 @@ void syncWithMaster(connection *conn) { ...@@ -2720,7 +2720,7 @@ void syncWithMaster(connection *conn) {
return; 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) { if (server.repl_state != REPL_STATE_RECEIVE_PSYNC_REPLY) {
serverLog(LL_WARNING,"syncWithMaster(): state machine error, " serverLog(LL_WARNING,"syncWithMaster(): state machine error, "
"state should be RECEIVE_PSYNC but is %d", "state should be RECEIVE_PSYNC but is %d",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment