massakam opened a new pull request #10381:
URL: https://github.com/apache/pulsar/pull/10381


   Fixes #10170
   
   Currently, `AuthenticationAthenz` uses `synchronized` more than necessary. I 
think the only variables that can cause race conditions with multiple threads 
are `roleToken` and `cachedRoleTokenTimestamp`. Therefore, I introduced a 
locking object to prevent the race condition of these two variables, and 
removed the other `synchronized`.


-- 
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:
[email protected]


Reply via email to