joeCarf commented on issue #7489: URL: https://github.com/apache/rocketmq/issues/7489#issuecomment-1772554676
图中的代码只更新了内存中的offset。在`RemoteBrokerOffsetStore`中,有一`persistAll`函数,会将整个offsetTable更新到对应的broker <img width="926" alt="截屏2023-10-20 19 17 46" src="https://github.com/apache/rocketmq/assets/52153761/87751575-c2e3-4eba-bc2a-7ec1c14ab9d0"> 而`LocalFileOffsetStore`中只会写到本地文件中 -- 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 For queries about this service, please contact Infrastructure at: us...@infra.apache.org