Closed olessio closed 2 weeks ago
I am encountering the same issue when failover testing our HA setup on Redis Cloud with Redisson 3.29.0. Redisson is configured to run in single-server mode, as Redis Enterprise hides the clustered topology of the DBs.
Should be fixed in https://github.com/redisson/redisson/pull/6047. Can you try 3.34.0 version?
Could reproduce the issue with a Redis Sentinel setup with version 3.29.0 but not with 3.34.1. Will try a Redis Cloud failover test soon
Issue did not re-appear on new failover test with redisson 3.34.1. Seems to be fixed. Thank you!
Redis version
6.2.13
Redisson version
3.32.0, 3.27.2
Redisson configuration
SentinelServersConfig
What is the Expected behavior?
After Redis is up and Redisson has been reconnected, PubSub must keep working.
What is the Actual behavior?
Problem 1 Redisson is failing to create new topic listener
Problem 2 Existing subscriptions are not re-established: Redis command "PUBSUB CHANNELS" returns empty list even though before disconnect there were multiple channels.
Problem 3 (I assume it is a consequence of the 1st Problem): RedissonLock stuck at
After service restart, everything works as expected
Additional information
No response