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

   Hi Community, i have a silly question, when a slave broker will changing to 
master and  the slave's confirmOffset get from old master. It will recalculate 
the confirmOffset when `AutoSwitchHAService#changeToMaster`, buf if the slave 
maxOffset > confirmOffset(this broker replicates relatively fast and the 
confirmOffset is the one that takes the smallest value of all syncStateSets ), 
In this case, will it cause the inconsistent messages? should we truncate the 
commitLog between confirmOffset to maxOffset?
   
   Hope all your helps.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to