priyeshkaratha commented on PR #11307:
URL: https://github.com/apache/ozone/pull/11307#issuecomment-6264916775

   > What happens if a new replica is added just after isSafeToPurge() checks 
the replicas, but before removeTransactions() deletes the transaction? In that 
case, the new replica has not ACKed the delete, but the transaction may still 
be removed. Is there any lock or ordering that prevents this?
   
   That window is covered. A replica added after the check either had a pending 
ADD at check time, so the purge is deferred, or it was copied from a source 
that had already recorded the deletion, so it carries it.


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