elek commented on pull request #1028:
URL: https://github.com/apache/hadoop-ozone/pull/1028#issuecomment-651659061


   It's not just about the `updateState` method, but (for example) the 
`removeContainer` method.
   
   Without write lock the container might be removed from `ownerMap` and not 
from the `typeMap`, which can cause inconsistency.
   
   (I think, but fix me if I am wrong)
   


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