showuon commented on PR #12628: URL: https://github.com/apache/kafka/pull/12628#issuecomment-1251787224
> Reopened the PR. Moved the ReadWrite lock from StandardAuthorizerData scope to StandardAuthorizer. I'm okay with most methods after moving the lock, but loadSnapshot can be pretty heavy with this implementation. Let me know your thoughts @mumrah @cmccabe @hachikuji The `loadSnapshot` is indeed a concern. I'm wondering if we can remove lock for `loadSnapshot` method? After all, the authorizer won't be up and ready to use before `loadSnapshot` completed, right? -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org