Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QUESTION]What the command cluster flushslots really mean will it notice all node in the cluster? #7949

Open
Cloud-Zhang opened this issue Oct 23, 2020 · 0 comments

Comments

@Cloud-Zhang
Copy link

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

@Cloud-Zhang 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant