You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I create one cluster with 3 maters and 3 replicas , and we do the rdb file backup and want to restore accoding the back up file, ps:when we do the backup we get the mater slots . so the data should like 0-5461.rdb. And the case is we want to restore the data to their original node. So i want to remove all the slots which belong to the node and use the backup info slots to provide this node slots. After i check the API there is one command called the CLUSTER FLUSHSLOTS. But when i try this command it only work in the current node. even i remove the slots in the current node but in other node when i execute the CLUSTER NODES it still show this node have the slots. So the question is why remove the slots in one node and other node can't know ? Base on my understanding once we change something and all cluster should effected and do the change . But now seems no. So could you help to explain to me why it works like this . I think it should notice to other node that i already remove the slots . and other node update the config .
Looking forward to your reply!!!
Thanks
The text was updated successfully, but these errors were encountered:
Cloud-Zhang
changed the title
[QUESTION]How the command cluster flushslots mean
[QUESTION]What the command cluster flushslots really mean will it notice all node in the cluster?
Oct 23, 2020
I create one cluster with 3 maters and 3 replicas , and we do the rdb file backup and want to restore accoding the back up file, ps:when we do the backup we get the mater slots . so the data should like 0-5461.rdb. And the case is we want to restore the data to their original node. So i want to remove all the slots which belong to the node and use the backup info slots to provide this node slots. After i check the API there is one command called the CLUSTER FLUSHSLOTS. But when i try this command it only work in the current node. even i remove the slots in the current node but in other node when i execute the CLUSTER NODES it still show this node have the slots. So the question is why remove the slots in one node and other node can't know ? Base on my understanding once we change something and all cluster should effected and do the change . But now seems no. So could you help to explain to me why it works like this . I think it should notice to other node that i already remove the slots . and other node update the config .
Looking forward to your reply!!!
Thanks
The text was updated successfully, but these errors were encountered: