Adding support for cluster keyspace notifications to subscriber#1536
Adding support for cluster keyspace notifications to subscriber#1536ercangorgulu wants to merge 3 commits intoStackExchange:mainfrom
Conversation
…lowing subscription to multiple nodes
|
@NickCraver - Any chance we can get this merged? Getting keyspace notification support would be amazing. |
|
@shaunco Unfortunately not - we've been heads down on some other bits here but the reason this wasn't taken originally was pub/sub was screwed in ways we didn't understand and took a decent deep dive to figure out recently. As a result, the entirely of pub/sub code has been rewritten to behave and hash correctly, fundamentally breaking this PR as well (but fixing all existing use cases). We're not against adding this feature, but it has a critical component of subscribing this specific thing to all servers which isn't how the rest of subscriptions work. We'd need to handle this case including how to subscribe and re-subscribe since it behaves differently at every level (rather than opportunistically subscribing to any viable server when problems occur like other subscriptions). Now that we have subscriptions as a base stable and working, this is much more viable to approach, but no time allocation from Marc and I at the moment. @ercangorgulu We really do appreciate the effort here - hopefully the above makes sense on why changing an unstable system is not desirable (and I should have written this a long time ago). Now that we have the base stable, this is a problem we could go after. |
|
@NickCraver thank you for your feedback. |
Adding support for cluster keyspace notifications to subscriber by allowing subscription to multiple nodes
Refactored code for previous pull request based on new changes
#813
Fixes: #789