ashishkumar50 commented on PR #9630:
URL: https://github.com/apache/ozone/pull/9630#issuecomment-3774757158

   @errose28 @sumitagrawl, Can you please help to review this PR.
   If container state is DELETED/DELETING in SCM and if CLOSED replica is 
reported we are doing deleteReplica if replica bcsid <= container bcsid.
   As we had discussed offline for DELETED case it is safe to delete CLOSED 
replica.
   I think even for DELETING state it is safe to delete replica, if replica 
bcsid <= container bcsid. 
   (RM moves container state from CLOSED to DELETING if all 3 replicas are 
empty and then move to DELETED).
   If any replica which is non-empty and reported when container state is 
DELETING with replica bcsid <= container bcsid, in this case replica can be 
deleted and will not cause any data loss.
   Please confirm if we can proceed with both DELETED and DELETING state or we 
can just consider DELETED state.


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