rocketmq icon indicating copy to clipboard operation
rocketmq copied to clipboard

[Feature] option to control not reading message body on startup. 启动时可配置不读取消息日志中消息内容

Open iamgd67 opened this issue 2 years ago • 1 comments

Is Your Feature Request Related to a Problem?

yes, when there are more than 3 message log files, startup time will be very long(tens of minuts), even set checkCRCOnRecover=false won't help

消息文件大于3个时,启动会很慢,配置了checkCRCOnRecover=false 效果也不大,因为还是会去读文件里的消息内容内容。

Describe the Solution You'd Like

when set checkCRCOnRecover=false not read log file content on startup

配置了 checkCRCOnRecover=false 的话,不在启动时读取消息日志内容

Describe Alternatives You've Considered

another config flag to control read content behavior

添加一个控制是否读取消息日志内容的配置

Additional Context

cloud evn machine, disk very poor.

iamgd67 avatar Oct 19 '23 08:10 iamgd67

This issue is stale because it has been open for 365 days with no activity. It will be closed in 3 days if no further activity occurs.

github-actions[bot] avatar Oct 20 '24 00:10 github-actions[bot]

This issue was closed because it has been inactive for 3 days since being marked as stale.

github-actions[bot] avatar Oct 24 '24 00:10 github-actions[bot]

速度慢应该是因为5.1.3没有开启commit log预读。

iamgd67 avatar Oct 24 '24 01:10 iamgd67