LetLetMe opened a new issue, #8589: URL: https://github.com/apache/rocketmq/issues/8589
### Before Creating the Enhancement Request - [X] I have confirmed that this should be classified as an enhancement rather than a bug/feature. ### Summary 支持cq文件和Offset从json版本升级到rocksdb版本 Support Upgrade of CQ Files and Offset from JSON Version to RocksDB Version ### Motivation 我们百万队列引入了rocksdb来存储cq和Offset,但是现在没有从json版原地升级到rocksdb版的方案,此方案就是为了解决这个问题 We have introduced RocksDB to store CQ and Offset in our million queues, but currently, there is no solution for in-place upgrading from the JSON version to the RocksDB version. This proposal aims to address this issue. ### Describe the Solution You'd Like 对于Offset,我们会在transferOffsetJsonToRocksdb打开时,broker启动时候做转换。 对于cq,我们提供了俩种格式cq双写的模式,通过rocksdbCQWriteEnable来控制是否同时Dispatch俩种格式的cq,同时我们还提供了检测双写进度的工具,方便寻找合适的时间以切流。 For Offset, we will perform the conversion when the broker starts if transferOffsetJsonToRocksdb is enabled. For CQ, we offer a dual-write mode for two formats, controlled by rocksdbCQWriteEnable to determine whether to dispatch both formats of CQ simultaneously. Additionally, we provide a tool to monitor the dual-write progress, making it easier to find an appropriate time to switch over. ### Describe Alternatives You've Considered nothing ### Additional Context nothing -- 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]
