yuanboliu commented on PR #4230: URL: https://github.com/apache/hadoop/pull/4230#issuecomment-1111680424
@Hexiaoqiao Thanks for your comments. We will apply this patch to our test env, and give feedback here. This is the code from trunk to prove that read lock is good enough: <img width="762" alt="image" src="https://user-images.githubusercontent.com/5643344/165666072-023f7b39-3499-405e-bfd5-1ff1412ab9e1.png"> edit sync is protected by synchronized (this), and renew/cancel/get are in-order requests, there is no way that all the requests for one uniq token will be handled at the 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: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org