apache / rocketmq

Apache RocketMQ is a cloud native messaging and streaming platform, making it simple to build event-driven applications.

Home Page:https://rocketmq.apache.org/

Repository from Github https://github.comapache/rocketmqRepository from Github https://github.comapache/rocketmq

[Enhancement] RocksDBConsumeQueueStore do not need update storeCheckpoint

qianye1001 opened this issue · comments

Before Creating the Enhancement Request

  • I have confirmed that this should be classified as an enhancement rather than a bug/feature.

Summary

When broker crush, CommitLog will do dispatch to recover consumeQueueStore depending on storeCheckpoint. However, RocksDBConsumeQueueStore do not need storeCheckpoint to recover, so it is useless to update storeCheckpoint

Motivation

When broker crush, CommitLog will do dispatch to recover consumeQueueStore depending on storeCheckpoint. However, RocksDBConsumeQueueStore do not need storeCheckpoint to recover, so it is useless to update storeCheckpoint

Describe the Solution You'd Like

remove useless code

Describe Alternatives You've Considered

null

Additional Context

No response