[
https://issues.apache.org/jira/browse/KAFKA-12195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chia-Ping Tsai resolved KAFKA-12195.
------------------------------------
Fix Version/s: 2.8.0
Resolution: Fixed
> Fix synchronization issue happening in KafkaStreams (related to flaky
> AdjustStreamThreadCountTest)
> --------------------------------------------------------------------------------------------------
>
> Key: KAFKA-12195
> URL: https://issues.apache.org/jira/browse/KAFKA-12195
> Project: Kafka
> Issue Type: Bug
> Reporter: Chia-Ping Tsai
> Assignee: Chia-Ping Tsai
> Priority: Major
> Fix For: 2.8.0
>
>
> {code}
> threads = Collections.synchronizedList(new LinkedList<>());
> {code}
> The synchronization list requires us to manually synchronize the iterator.
> non-synchronizing the list results in inconsistent results and consequently
> unstabilize the AdjustStreamThreadCountTest.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)