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

Reliable node unsubscribe from PUB/SUB channel #77

Closed
FZambia opened this issue Nov 24, 2019 · 0 comments · Fixed by #83
Closed

Reliable node unsubscribe from PUB/SUB channel #77

FZambia opened this issue Nov 24, 2019 · 0 comments · Fixed by #83

Comments

@FZambia
Copy link
Member

FZambia commented Nov 24, 2019

At moment if node unsubscribes from Redis channel (last client leaves channel) and an error happens during unsubscribe request to Redis then subscription to channel can stay alive. This does not affect general behaviour but can lead to stale subscriptions and receiving non-actual messages over PUB/SUB which are then dropped on node level. It would be nice to clean up such subscriptions. One idea is to have a sort of unsubscribe unbounded queue which is consumed by workers to reliably process unsubscriptions.

@FZambia FZambia changed the title Reliable node unsubscribe Reliable node unsubscribe from PUB/SUB channel Nov 24, 2019
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