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

deadlock if slot migration is canceled after beggining #2968

Closed
BorysTheDev opened this issue Apr 29, 2024 · 0 comments · Fixed by #2992
Closed

deadlock if slot migration is canceled after beggining #2968

BorysTheDev opened this issue Apr 29, 2024 · 0 comments · Fixed by #2992
Assignees
Labels
bug Something isn't working

Comments

@BorysTheDev
Copy link
Contributor

BorysTheDev commented Apr 29, 2024

Also not all keys are removed after cancel from the target node

@BorysTheDev BorysTheDev added the bug Something isn't working label Apr 29, 2024
@BorysTheDev BorysTheDev added this to the dfly cluster v2 milestone Apr 29, 2024
@BorysTheDev BorysTheDev self-assigned this Apr 29, 2024
BorysTheDev added a commit that referenced this issue Apr 30, 2024
* fix: fix deadlock and slot flush for migration cancel #2968
chakaz added a commit that referenced this issue May 1, 2024
…ting it

This fixes a few small places, but most importantly it does not allow a
migration to start before both the outgoing and incoming side received
the updated config. This solves a few edge cases.

Fixes #2968
@adiholden adiholden assigned chakaz and unassigned BorysTheDev May 2, 2024
chakaz added a commit that referenced this issue May 2, 2024
…ting it (#2992)

* fix(cluster-migration): Support cancelling migration right after starting it

This fixes a few small places, but most importantly it does not allow a
migration to start before both the outgoing and incoming side received
the updated config. This solves a few edge cases.

Fixes #2968

* add TODO

* fix test

* gh comments and fixes

* add comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants