dongeforever commented on pull request #3848:
URL: https://github.com/apache/rocketmq/pull/3848#issuecomment-1040035317


   It will reserve 3 files, which will only swap the readable file for an 
append-only system. So it is safe in practice.
   
   As for the technical discussion,  the mapped file is implemented with page 
cache internally by os. So it is safe to write with two mappedbytebuffer as 
long as the write pos is not intersected.


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