liuzongliang0202 commented on PR #4518:
URL: https://github.com/apache/rocketmq/pull/4518#issuecomment-1169435072

   > Is it possible to add the logic of regular flushing of `IndexFile`, just 
like refreshing `ConsumeQueue`, `StoreCheckpoint`, and `CommitLog` regularly.
   > 
   > `DefaultMessageStore#FlushConsumeQueueService` 
`CommitLog(FlushCommitLogService)`
   
   The indexfile is written randomly, and the checkpoint is not recorded until 
it is full. If an exception exits, the indexfile file after the checkpoint will 
be deleted and restored from the commitlog again. So there is no need to 
refresh regularly


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