[
https://issues.apache.org/jira/browse/KAFKA-5756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16134573#comment-16134573
]
ASF GitHub Bot commented on KAFKA-5756:
---------------------------------------
GitHub user oleg-smith opened a pull request:
https://github.com/apache/kafka/pull/3702
KAFKA-5756 Synchronization issue on flush
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/oleg-smith/kafka KAFKA-5756
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/3702.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3702
----
commit 52eb748105fad16e7f810fdedc1a91dcb96b9117
Author: oleg <[email protected]>
Date: 2017-08-20T21:59:35Z
KAFKA-5756 Synchronization issue on flush
----
> Synchronization issue on flush
> ------------------------------
>
> Key: KAFKA-5756
> URL: https://issues.apache.org/jira/browse/KAFKA-5756
> Project: Kafka
> Issue Type: Bug
> Components: KafkaConnect
> Affects Versions: 0.10.2.0
> Reporter: Oleg Kuznetsov
>
> Access to *OffsetStorageWriter#toFlush* is not synchronized in *doFlush()*
> method, whereas this collection can be accessed from 2 different threads:
> - *WorkerSourceTask.execute()*, finally block
> - *SourceTaskOffsetCommitter*, from periodic flushing task
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)