captainzmc edited a comment on pull request #1445:
URL: https://github.com/apache/ozone/pull/1445#issuecomment-733494241


   Hi @amaliujia. Now #1489  has been merged, I think we can continue this PR. 
The original implementation needs to be changed. we no longer need LongAdder to 
update volume 
usedNamespace([reason](https://issues.apache.org/jira/browse/HDDS-4308) ).
   
   Since volume lock has been used by OMBucketCreateRequest and 
OMBucketDeleteRequest, we only need to obtain its copyObject after updating 
omVolumeArgs and then put it into Response. The specific amendment can refer to 
[here.](https://github.com/apache/ozone/pull/1489/files#diff-ac3f28f30c26932cfbaf4270f5f0862b973b4e3e5b9b11ae78e725c306736fcdR321)
   


----------------------------------------------------------------
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:
[email protected]



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

Reply via email to