leizhiyuan opened a new pull request, #9588:
URL: https://github.com/apache/rocketmq/pull/9588

   … checkpoint when not in controller mode
   
   <!-- Please make sure the target branch is right. In most case, the target 
branch should be `develop`. -->
   
   ### Which Issue(s) This PR Fixes
   
   <!-- Please ensure that the related issue has already been created, and 
[link this pull request to that issue using 
keywords](<https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword>)
 to ensure automatic closure. -->
   
   Fixes #9587
   
   ### Brief Description
   
   <!-- Write a brief description for your pull request to help the maintainer 
understand the reasons behind your changes. -->
   
   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.
   
   
   ### How Did You Test This Change?
   
   <!-- In order to ensure the code quality of Apache RocketMQ, we expect every 
pull request to have undergone thorough testing. -->
   
   just review the code


-- 
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]

Reply via email to