ChenSammi commented on pull request #1162:
URL: https://github.com/apache/hadoop-ozone/pull/1162#issuecomment-655969692


   
   
   
   > Thanks @ChenSammi for reporting the issue and propose the fix. The change 
LGTM.
   > 
   > I have a question wrt the excess calculation in 
handleOverReplicationContainer where we only consider inflightDeletion without 
inflightReplication at around line 615. Could this contribute the over 
replication issue as we will break out when a smaller excess value reaches 0 
but the inflighreplication is still going?
   
   @xiaoyuyao , I think inflightReplication not considered here is safer since 
replication has the change to fail.  Imaging we have 2 healthy replicas and 2 
inflight replications, this case, send the command to delete the extra 1 
replica until we are sure that we have 4 healthy replicas in hand. 


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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org

Reply via email to