yx9o opened a new issue, #8539:
URL: https://github.com/apache/rocketmq/issues/8539

   ### Before Creating the Bug Report
   
   - [X] I found a bug, not just asking a question, which should be created in 
[GitHub Discussions](https://github.com/apache/rocketmq/discussions).
   
   - [X] I have searched the [GitHub 
Issues](https://github.com/apache/rocketmq/issues) and [GitHub 
Discussions](https://github.com/apache/rocketmq/discussions)  of this 
repository and believe that this is not a duplicate.
   
   - [X] I have confirmed that this bug belongs to the current repository, not 
other repositories of RocketMQ.
   
   
   ### Runtime platform environment
   
   Linux
   
   ### RocketMQ version
   
   4.9.8
   
   ### JDK Version
   
   jdk 1.8
   
   ### Describe the Bug
   
   I want to implement master-slave switching through commands. After the 
master stops, I change the slave configuration to master. The offset produced 
is not continuous, which means that the data during the period of catching up 
with the consumption progress cannot be consumed.
   <img width="672" alt="image" 
src="https://github.com/user-attachments/assets/16171068-910b-4e28-9e7d-c3d7cd4d70d6";>
   <img width="893" alt="image" 
src="https://github.com/user-attachments/assets/9a0fea30-9a69-489a-819b-1ec174cd159c";>
   <img width="400" alt="image" 
src="https://github.com/user-attachments/assets/7a6daeb6-7fa3-4a6a-ae1d-22c930a94922";>
   <img width="888" alt="image" 
src="https://github.com/user-attachments/assets/500ab1b6-6ae6-48f2-a8fe-598b47f419a4";>
   
   
   ### Steps to Reproduce
   
   1. Run a group of master-slave production and consumption data
   2. Stop the master and change the slave configuration to the master through 
commands
   3. The offset of the production message seen at this time is not continuous, 
while the offset of consumption is continuous
   
   ### What Did You Expect to See?
   
   After the slave node switches to the master, the offset produced is 
continuous.
   
   ### What Did You See Instead?
   
   The offset produced is not continuous.
   
   ### Additional Context
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to