Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Receipt of REPLCONF VERSION reply should be triggered by event
This add the missing return when repl_state change to RECEIVE_VERSION_REPLY, this way we won’t be blocked if the primary doesn’t reply with REPLCONF VERSION. In practice i guess this is no likely to block in this context, reading small responses are are likely to be received in one packet, so So this is just a cleanup (consistent with the previous state machine processing). Signed-off-by: Binbin <[email protected]>
- Loading branch information