commitlog file不能被自动清理,不管是被timeup/spacefull or manualDelete哪种方式触发 #7698
Unanswered
hashkey-ops-admin
asked this question in
Q&A
Replies: 2 comments
-
现在broker磁盘水位如何(可以查看clusterList)?是一直删除不掉吗?多次调用MappedFile shutdown方法后应该是可以删掉的。 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
由timeup触发的清理日志:
由 storescheuled触发的 retryDeleteFirstFile 函数的日志:
store目录下当前的commitlog文件:
RocketMQ java进程的内存使用情况(内存主要使用在mmap上)

注意到日志中 /data/rocketmq/store/commitlog/00000000000000000000 文件的reference是0。但是该文件当前还是被rocketmq java进程打开着:
Java及RocketMQ版本(rocketmq-4.9.4)如下:
请教下,当前是否可以在不重启RocketMQ服务的前提下,恢复commitlog的自动清理?
Beta Was this translation helpful? Give feedback.
All reactions