ibenchhida created KAFKA-20667:
----------------------------------

             Summary:  O(N) ACL scan in StandardAuthorizerData.checkSection
                 Key: KAFKA-20667
                 URL: https://issues.apache.org/jira/browse/KAFKA-20667
             Project: Kafka
          Issue Type: Bug
          Components: core
    Affects Versions: 3.9.2
            Reporter: ibenchhida


Root cause: checkSection() iterates all ACLs sharing the same resource 
pattern via TreePSet.tailSet(), calling HashSet.contains per ACL × topic. 
With 504 topics × 7001 ACLs → ~3.5M iterations per MetadataRequest.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to