MingXiangLi commented on PR #4945:
URL: https://github.com/apache/hadoop/pull/4945#issuecomment-1261752537

   I think it's necessary to hold the pool lock.Or make sure the following 
scenarios not have problem without hold block pool lock for example.
   1、When fsVolume.getVolumeMap() scan the bock from disk to add block 
metadata,it may add new block metadata when another thread add block.
   2、How we deal conflict when remove BlockPool operating occur at same time.


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