lokeshj1703 commented on pull request #2349:
URL: https://github.com/apache/ozone/pull/2349#issuecomment-877136121


   @JacksonYao287 There is one optimization which we can use for move.
    
https://github.com/apache/ozone/pull/2349/files#diff-7b38a0477ad3f17c66925825066d4f153b69efbf37288b2c71cd573313771122R1265-R1270
   
   If placement policy was initially not satisfied then deletion for source can 
be sent provided placement count remains same after deletion. I think it would 
be a good idea to abstract out logic here 
   
https://github.com/apache/ozone/pull/2349/files#diff-7b38a0477ad3f17c66925825066d4f153b69efbf37288b2c71cd573313771122R1265-R1270
   and reuse it for move and over-replication.


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