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

Evict subscribed sharded pub/sub on cluster migrations #4517

Open
kostasrim opened this issue Jan 28, 2025 · 0 comments · May be fixed by #4529
Open

Evict subscribed sharded pub/sub on cluster migrations #4517

kostasrim opened this issue Jan 28, 2025 · 0 comments · May be fixed by #4529
Assignees

Comments

@kostasrim
Copy link
Contributor

Upon slot migration, the node that owns the slots for channels in sharded pub/sub commands continues to process normally incoming pub/sub commands. Upon completion, the node evicts the connected clients to that given slot, returns a MOVED error for the client to redirect the connection.

There is no state associated with pub/sub that needs to be transferred during slot migration. After the migration completes, clients need to redirect their pub/sub commands to the newly migrated node.

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

Successfully merging a pull request may close this issue.

1 participant