Skip to content

Commit

Permalink
rename set-rdb-conn-id to set-rdb-client-id
Browse files Browse the repository at this point in the history
Co-authored-by: Ping Xie <[email protected]>
  • Loading branch information
naglera and PingXie authored Jun 25, 2024
1 parent 676a6bb commit 26a147b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/replication.c
Original file line number Diff line number Diff line change
Expand Up @@ -1413,7 +1413,7 @@ void replconfCommand(client *c) {
c->flags &= ~CLIENT_REPL_RDB_CHANNEL;
c->slave_req &= ~SLAVE_REQ_RDB_CHANNEL;
}
} else if (!strcasecmp(c->argv[j]->ptr, "set-rdb-conn-id")) {
} else if (!strcasecmp(c->argv[j]->ptr, "set-rdb-client-id")) {
/* REPLCONF identify <client-id> is used to identify the current replica main connection with existing
* rdb-connection with the given id. */
long long client_id = 0;
Expand Down

0 comments on commit 26a147b

Please sign in to comment.