lizhimins opened a new issue, #7144: URL: https://github.com/apache/rocketmq/issues/7144
### Before Creating the Enhancement Request - [X] I have confirmed that this should be classified as an enhancement rather than a bug/feature. ### Summary When broker hold many topics, the recovery process of the tiered storage module is too slow. This optimization can effectively improve the startup speed. 在 Topic 数量较多的情况下,分级存储模块状态恢复较慢,这个优化可以有效的提升启动速度。 ### Motivation When broker hold many topics, the recovery process of the tiered storage module is too slow. This optimization can effectively improve the startup speed. ### Describe the Solution You'd Like 1. Use the cq commit offset in the segment as the dispatch offset to reduce invalid data uploads during startup. 2. Allow asynchronous and concurrent correction and loading of data length, see TieredFlatFileManager#recoverTieredFlatFile. 3. Adjusted some log levels and formats and optimized the test cases. 1. 使用 segment 中 cq commit offset 作为 dispatch offset,减少启动时无效的数据上传 2. 允许异步并发进行数据长度订正和加载,见 TieredFlatFileManager#recoverTieredFlatFile 3. 调整了部分日志级别和日志格式,测试用例的优化 ### Describe Alternatives You've Considered No ### Additional Context _No response_ -- 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]
