You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, as I understand pubsub with cluster I need to:
Given a channel, find the the node that owns the hash slot.
Subscribe to that node and also to cluster:slots to detect migrations.
Upon slot migration, subscribe to the channel on the new node and keep the old connection open.
Forward messages to the application from the old connection until it closes and remember those messages.
When migration is complete and the old connection closed, forward messages from the new connection, trimming the remembered messages from the first connection
Does go-redis do this for me already? I was looking through the cluster.go code and I didn’t see this logic specfically. Thanks!
The text was updated successfully, but these errors were encountered:
Hello, as I understand pubsub with cluster I need to:
cluster:slots
to detect migrations.Does go-redis do this for me already? I was looking through the cluster.go code and I didn’t see this logic specfically. Thanks!
The text was updated successfully, but these errors were encountered: