[
https://issues.apache.org/jira/browse/KAFKA-19513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18031162#comment-18031162
]
Qiang Liu commented on KAFKA-19513:
-----------------------------------
hello [~isding_l] and [~alyssahuang]
Did some tests on my local and seems what takes time is
AclControlManager.deleteAcls,
the iteration will be execute over 10k * 10k times
* iterate filters in deleteAcls and iterate idToAcl(items are added in the
replay) in deleteAclsForFilter
The number of execution is not the same everytime on my local testing + the
resource on CI might cause the flaky.
We didn't print log in deleteAcls, so
# Maybe we can add some log in AclControlManager.deleteAcls to verify.
# Confirm if AclControlManager.deleteAcls can be optimized.
> Flaky test: AclControlManagerTest.testDeleteExceedsMaxRecords()
> ---------------------------------------------------------------
>
> Key: KAFKA-19513
> URL: https://issues.apache.org/jira/browse/KAFKA-19513
> Project: Kafka
> Issue Type: Bug
> Reporter: Apoorv Mittal
> Assignee: Qiang Liu
> Priority: Major
>
> [https://github.com/apache/kafka/actions/runs/16310027994/job/46064346395?pr=20164]
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)