szetszwo commented on PR #8093:
URL: https://github.com/apache/ozone/pull/8093#issuecomment-2727668288

   > Given that multiple threads may write file X, using the same temp file 
X.tmp for AtomicFileOutputStream introduces race condition. ...
   
   The race condition is good thing since it has caught the bug.  If we write 
to different tmp files, then the bug will happen silently.  We don't have a 
legitimate case to allow multiple threads writing to the same file at the same 
time.


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to