You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2022/08/11 03:27:26 UTC
[GitHub] [rocketmq] lizhanhui commented on issue #4771: In HA mode, if you do not truncate consumerOffsetMap, it may cause a bug
lizhanhui commented on issue #4771:
URL: https://github.com/apache/rocketmq/issues/4771#issuecomment-1211515886
I believe this is a design flaw. Leader/master nodes shall **ONLY** replicate their WAL logs to their peers/slaves. All activities, including updates of consume-offsets, should be reflected in the WAL log. Peer nodes and slaves restore state machines by replaying WAL.
The current implementation has more than one replication path, this is the root cause of the discrepancy.
--
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: dev-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org