aliehsaeedii commented on PR #16554:
URL: https://github.com/apache/kafka/pull/16554#issuecomment-2615741573

   @abhi-ksolves Thanks for the PR.
   I don't see the point where the code is modifying the `sortedMap` while 
iterating over it. In `evictWhile` method, we are already using the iterators, 
which is the solution for not getting the `ConcurrentModificationException`. 
Are you sure that the exception you got, is from this part of the code?


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

Reply via email to