Replies: 2 comments 4 replies
-
This problem should be a bug in the parsing process of the timermetric file. I can fix this problem later. As for the disk flushing once per second, it is a simple regular update strategy without any deeper design purpose and meaning. |
Beta Was this translation helpful? Give feedback.
4 replies
-
Did you back up the timermetrics file at that time? You can check whether it is indeed an unclosed json file. |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
单机版本服务器断电重启后,broker启动报store/config/timermetrics文件损坏,导致broker无法启动。这个是bug吗?还是说设计的时候没有考虑过意外断电自恢复的情况?

另外观察这个文件,发现即使这个

store/config/timermetrics
文件内容没有任何更新,依然会每秒被删除1次,然后重新生成。这个机制背后对应的原因是什么?为什么这么设计呢?因为我们是在纯私有化场景使用,期望能够支撑意外断电自恢复,而不是还需要手工重建数据进行恢复。
Beta Was this translation helpful? Give feedback.
All reactions