You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2022/04/02 03:07:47 UTC

[GitHub] [rocketmq] ni-ze edited a comment on issue #4083: The for loop in method org.apache.rocketmq.store.MappedFileQueue#deleteExpiredFileByTime can not reach the last one in the array.

ni-ze edited a comment on issue #4083:
URL: https://github.com/apache/rocketmq/issues/4083#issuecomment-1086525373


   By designed, Because the last mappedFile is not full very likely, we can append data using it. If delete it,  startOffset of new mappedFile will not keep sequence with  deleted mappedFile, commitLog has a hole.


-- 
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: dev-unsubscribe@rocketmq.apache.org

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