[
https://issues.apache.org/jira/browse/KAFKA-17269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17871300#comment-17871300
]
bboyleonp commented on KAFKA-17269:
-----------------------------------
Hi [~chia7712] , may I take this one?
> Fix ConcurrentModificationException caused by NioEchoServer.closeNewChannels
> ----------------------------------------------------------------------------
>
> Key: KAFKA-17269
> URL: https://issues.apache.org/jira/browse/KAFKA-17269
> Project: Kafka
> Issue Type: Test
> Reporter: Chia-Ping Tsai
> Assignee: Chia-Ping Tsai
> Priority: Minor
>
> see CI:
> https://ci-builds.apache.org/blue/organizations/jenkins/Kafka%2Fkafka-pr/detail/PR-16795/1/tests
> `newChannels` is a SYNC ArrayList, however, the helper method does not
> protect "iteration". Hence, we should add `synchronized (newChannels)` for it.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)