BUG REPORT
在主从模式下,将主从角色调换后,消费者消费到了历史消息(12小时之前的)。
- 版本:4.2.0
- 部署模式: 集群模式,共4台服务器b1-b4:
- Broker A: MasterA(b1), SlaveA(b2)
- Broker B: MasterB(b3), SlaveB(b4)
- What did you do (The steps to reproduce)?
- shutdown MasterA(b1)
- wait for 30 minutes
- shutdown SlaveA(b2)
- modify b2 set brokerId=0
- restart b2(as Master)
- everything be ok
- after 12 hours, modify b1 set brokerId=1 and startup b1(as Slave)
- after b1 sync data from b2, shutdown b2
- wait for 5 minutes
- shutdown b1
- modify b1 set brokerId=0 and startup b1(as Master)
- then all consumers are consuming history messages(about 12 hours ago),and a lot of pressure on b1
-
Please tell us about your environment:
-
Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):
BUG REPORT
在主从模式下,将主从角色调换后,消费者消费到了历史消息(12小时之前的)。
What did you expect to see?
What did you see instead?
Please tell us about your environment:
Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):