You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2021/01/19 09:55:00 UTC

[jira] [Resolved] (KAFKA-12195) Fix synchronization issue happening in KafkaStreams (related to flaky AdjustStreamThreadCountTest)

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