Fix outdated comment of migrate in valkey-cli --cluster (#864)
After 503fd229e4181e932ba74b3ca8a222712d80ebca the comment is outdated. Signed-off-by: Binbin <binloveplay1314@qq.com>
This commit is contained in:
parent
b728e4170f
commit
054ffd140f
@ -4865,11 +4865,11 @@ static int clusterManagerMigrateKeysInSlot(clusterManagerNode *source,
|
||||
* check whether its value is the same in both nodes.
|
||||
* In case of equal values, retry migration with the
|
||||
* REPLACE option.
|
||||
*
|
||||
* In case of different values:
|
||||
* - If the migration is requested by the fix command, stop
|
||||
* - If --cluster-replace option is not provided, stop
|
||||
* and warn the user.
|
||||
* - In other cases (ie. reshard), proceed only if the user
|
||||
* launched the command with the --cluster-replace option.*/
|
||||
* - If --cluster-replace option is provided, proceed it. */
|
||||
if (is_busy) {
|
||||
clusterManagerLogWarn("\n*** Target key exists\n");
|
||||
if (!do_replace) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user