leizhiyuan opened a new issue, #9587:
URL: https://github.com/apache/rocketmq/issues/9587

   ### Before Creating the Enhancement Request
   
   - [x] I have confirmed that this should be classified as an enhancement 
rather than a bug/feature.
   
   
   ### Summary
   
   Currently, during a recovery, especially an abnormal recovery, multiple 
commitlog files are scanned. If there are many commitlogs,
   
   During this scan, it seems that checkpoints are not flushed. This can cause 
problems in a container environment where, if health check execution is not 
completed within the health check time, restarting the container will require 
another checkpoint, resulting in startup failures. In this case, you need to 
manually adjust the health check interval.
   
   It is reasonable to flush the progress during recovery as well. This allows 
the container to continue without having to start over.
   
   
   当前,recover 的时候,尤其是不正常 recover 的时候,扫描多个 commitlog 文件,如果 commitlog 很多,这时候,
   
   扫描过程中,目前看 checkpoint 不会 
flush,这样会导致,如果在容器环境下,在健康检查时间内没有执行完,那么重启后,又要重新执行一遍,会一直启动不了,这时候,需要手动修改健康检查的时间间隔。
   
   合理的情况,应该是在 recover 的时候,也去 flush 这个进度。这样下次就能继续,而不用重新来   
   
       
   
   ### Motivation
   
   Same as above
   
   ### Describe the Solution You'd Like
   
   Same as above
   
   ### Describe Alternatives You've Considered
   
   Same as above
   
   ### 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: commits-unsubscr...@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to