ZanderXu commented on PR #4872:
URL: https://github.com/apache/hadoop/pull/4872#issuecomment-1242830909

   @ayushtkn Sir, thanks for your review.
   
   > You can not change the type of lock just for the sake of observers
   
   I'm not changed the type of lock, just change the type of `checkOperation`.  
This change will not lead to serious performance issues, because the 
performance of `checkOperation(OperationCategory.WRITE)` is similar to 
`checkOperation(OperationCategory.READ)`;


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