apache / rocketmq

Apache RocketMQ is a cloud native messaging and streaming platform, making it simple to build event-driven applications.
https://rocketmq.apache.org/
Apache License 2.0
21.26k stars 11.7k forks source link

When the master node of RocketMQ 5.1.4 version crashes, scheduled messages cannot be delivered normally #8006

Open sqtce opened 7 months ago

sqtce commented 7 months ago

Before Creating the Bug Report

Runtime platform environment

Linux

RocketMQ version

5.1.4

JDK Version

1.8.0

Describe the Bug

After the primary Broker node crashes, scheduled messages that were not delivered in time cannot be consumed normally, leading to the loss of these messages. However, once the Broker primary node is restarted, the system will return to normal, and messages can be consumed normally

Steps to Reproduce

After the primary Broker node goes down

What Did You Expect to See?

What are the solutions

What Did You See Instead?

None

Additional Context

No response

RongtongJin commented 7 months ago

If there is no switch, the master broker will be offline, and the slave broker will not be able to deliver schedule messages normally.

sqtce commented 7 months ago

My deployment architecture is master-slave mode. After the master node goes down, what solutions are available in master-slave mode to enable the slave to continue sending scheduled messages normally?

gaoyf commented 7 months ago

My deployment architecture is master-slave mode. After the master node goes down, what solutions are available in master-slave mode to enable the slave to continue sending scheduled messages normally?

FYI:https://github.com/apache/rocketmq/blob/develop/docs/cn/SlaveActingMasterMode.md