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

slot migration error #4937

Open
stillerrr opened this issue May 24, 2018 · 1 comment
Open

slot migration error #4937

stillerrr opened this issue May 24, 2018 · 1 comment

Comments

@stillerrr
Copy link

Redis uses the ASKING command to force nodes which status is IMPORTING to write keys that do not belong to the node when doing slot migration.
If an error occurs during the migration, and the migration is interrupted, the already written keys can no longer be found, the keys can be found in the RDB file, but if you use command to query these keys, it would report these keys belong to the other node, and return nil after redirection.

@stillerrr
Copy link
Author

If the key is a complex data type, it may occupy a large amount of memory, leading to uneven memory usage on the nodes of cluster.

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