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/15 09:04:00 UTC
[GitHub] [rocketmq] BurningCN opened a new issue, #4174: Question about MappedFileQueue#deleteExpiredFileByOffset method
BurningCN opened a new issue, #4174:
URL: https://github.com/apache/rocketmq/issues/4174
Considering that `MappedFile` is not necessarily full, should it be replaced with `mappedFile.getWrotePosition()-unitSize`?
![image](https://user-images.githubusercontent.com/43363120/163550501-77d00d38-1278-497b-82f7-395460438dec.png)
--
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.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq] HScarb commented on issue #4174: Question about MappedFileQueue#deleteExpiredFileByOffset method
Posted by GitBox <gi...@apache.org>.
HScarb commented on issue #4174:
URL: https://github.com/apache/rocketmq/issues/4174#issuecomment-1100078239
The last file is not full and in write state, other files in front of last file are already full.
So for these files, wrotePosition equals mappedFileSize
--
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
[GitHub] [rocketmq] BurningCN closed issue #4174: Question about MappedFileQueue#deleteExpiredFileByOffset method
Posted by GitBox <gi...@apache.org>.
BurningCN closed issue #4174: Question about MappedFileQueue#deleteExpiredFileByOffset method
URL: https://github.com/apache/rocketmq/issues/4174
--
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