Skip to content

Commit

Permalink
update comment to mention version reply
Browse files Browse the repository at this point in the history
Signed-off-by: Binbin <[email protected]>
  • Loading branch information
enjoy-binbin committed Nov 19, 2024
1 parent 9e51a8f commit fe8b010
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/replication.c
Original file line number Diff line number Diff line change
Expand Up @@ -3379,15 +3379,15 @@ void dualChannelSetupMainConnForPsync(connection *conn) {
* ┌────────▼──────────┐ │ │ │DUAL_CHANNEL_RECEIVE_ENDOFF│ │ │by the primary │
* │RECEIVE_IP_REPLY │ │ │ └───────┬───────────────────┘ │ ┌──▼────────────────┐ │
* └────────┬──────────┘ │ │ │$ENDOFF │ │RECEIVE_PSYNC_REPLY│ │
* │ │ │ ├─────────────────────────┘ └──┬────────────────┘ │
* │ │ │ │+CONTINUE │
* │ │ ┌───────▼───────────────┐ ┌──▼────────────────┐ │
* │ │ │DUAL_CHANNEL_RDB_LOAD │ │TRANSFER │ │
* │+OK │ │ ├─────────────────────────┘ └──┬────────────────┘ │
* ┌────────▼──────────┐ │ │ │ │+CONTINUE │
* │RECEIVE_CAPA_REPLY │ │ │ ┌───────▼───────────────┐ ┌──▼────────────────┐ │
* └────────┬──────────┘ │ │ │DUAL_CHANNEL_RDB_LOAD │ │TRANSFER │ │
* │+OK │ │ └───────┬───────────────┘ └─────┬─────────────┘ │
* ┌────────▼────────── │ │ │Done loading │ │
* │RECEIVE_CAPA_REPLY │ │ │ ┌───────▼───────────────┐ │ │
* └────────┬────────── │ │ │DUAL_CHANNEL_RDB_LOADED│ │ │
* │ │ │ └───────┬───────────────┘ │ │
* ┌────────▼─────────────┐ │ │ │Done loading │ │
* │RECEIVE_VERSION_REPLY │ │ │ ┌───────▼───────────────┐ │ │
* └────────┬─────────────┘ │ │ │DUAL_CHANNEL_RDB_LOADED│ │ │
* │+OK │ │ └───────┬───────────────┘ │ │
* ┌────────▼───┐ │ │ │ │ │
* │SEND_PSYNC │ │ │ │Replica loads local replication │ │
* └─┬──────────┘ │ │ │buffer into memory │ │
Expand Down

0 comments on commit fe8b010

Please sign in to comment.