You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Oleg Kuznetsov (JIRA)" <ji...@apache.org> on 2018/05/05 23:46:00 UTC

[jira] [Created] (KAFKA-6869) Distributed herder synchronization issue

Oleg Kuznetsov created KAFKA-6869:
-------------------------------------

             Summary: Distributed herder synchronization issue
                 Key: KAFKA-6869
                 URL: https://issues.apache.org/jira/browse/KAFKA-6869
             Project: Kafka
          Issue Type: Bug
          Components: KafkaConnect
    Affects Versions: 1.1.0
            Reporter: Oleg Kuznetsov


{code}org.apache.kafka.connect.runtime.distributed.DistributedHerder#needsReconfigRebalance\{code} field is read/write with and without *synchronized* in multiple places, that is incorrect by JMM.

 I propose to either adding synchronized to access it in all places or using RW lock varying type of  locking for reading and writing.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)