RBatch bug when redis sentinel slave restart
See original GitHub issueExpected behavior
use Rbatch to perform LRANGE requests
Actual behavior
I use redis sentinel mode. When using Rbatch to perform LRANGE requests. If the redis slave restart at this time, the redisson client will replay the LRANGE request until the program is restarted.
Steps to reproduce or test case
- use Rbatch to perform LRANGE requests(Keep request pressure)
- restart redis slave(sentinel mode)
Redis version
4.0.9
Redisson version
3.5.7
Redisson configuration
/redisson/order=codec=org.redisson.client.codec.StringCodec
/redisson/order=database=0
/redisson/order=masterAddress=192.168.0.x:6384
/redisson/order=masterName=pre_order
/redisson/order=password=xxx
/redisson/order=sentinelAddresses[0]=192.168.0.x:26379
/redisson/order=sentinelAddresses[1]=192.168.0.x:26379
/redisson/order=sentinelAddresses[2]=192.168.0.x:26379
/redisson/order=slaveAddress=192.168.0.xx:6384
/redisson=codec=org.redisson.client.codec.StringCodec
/redisson=database=0
/redisson=masterAddress=192.168.0.x:6316
/redisson=masterName=pre
/redisson=password=xxxx
/redisson=sentinelAddresses[0]=192.168.0.x:26379
/redisson=sentinelAddresses[1]=192.168.0.x:26379
/redisson=sentinelAddresses[2]=192.168.0.xx:26379
/redisson=slaveAddress=192.168.0.xx:6316
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
Redis Sentinel did not work correctly when restart
Problem : Redis Sentinel did not work correctly when restart. Reproduce: a). Boot redis and redis sentinel on three controllers.
Read more >Is it possible read happens before replication when Redis is in ...
I am wondering if it is possible when I write data it is written on Master and while reading it goes to slave...
Read more >A Guide to Redis with Redisson - Baeldung
A quick and practical guide to using Redisson for accessing Redis from a Java ... Single node; Master with slave nodes; Sentinel nodes ......
Read more >High availability with Redis Sentinel
If a master is not working as expected, Sentinel can start a failover process where a replica is promoted to master, the other...
Read more >Redis not recovery properly after a reboot of one server - GitLab
23:21 UTC: redis3 Redis server comes up as master, redis4 as slave; Lots of Error 500s occur on gitlab.com due to READONLY You...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
On version 3.10.2, this issue has been fixed
Explained in https://github.com/redisson/redisson/issues/1567#issuecomment-459736719