Hexiaoqiao commented on PR #4230:
URL: https://github.com/apache/hadoop/pull/4230#issuecomment-1110498309

   `In a very busy authed cluster, renewing/caneling/getting delegation token 
get slow and it will slow down the speed of handling rpcs from client. Since 
AbstractDelegationTokenSecretManager is a thread-safe manager, we propose to 
change the fs lock from write lock to read lock(protect editlog rolling)`
   @yuanboliu Thanks for your proposal, it is a great improvement. I think it 
is proper for ADTS which is thread-safe as you mentioned above. But I am 
concern if it is also thread-safe for editlog sync. Consider both 
renew/cancel/get for different token, is it safe to keep the order when replay 
editlog? Thanks.


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

Reply via email to