[ 
https://issues.apache.org/jira/browse/KAFKA-5054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16029777#comment-16029777
 ] 

ASF GitHub Bot commented on KAFKA-5054:
---------------------------------------

GitHub user dguy opened a pull request:

    https://github.com/apache/kafka/pull/3170

    KAFKA-5054: ChangeLoggingKeyValueByteStore delete and putIfAbsent should be 
synchronized

    These involve multiple operations on the underlying store. The underlying 
store access is synchronized, but these methods aren't. Which may result in 
inconsistent results when using IQ

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/dguy/kafka kafka-5054

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/kafka/pull/3170.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 #3170
    
----
commit b6b136dbf7b633d89a9b2885e6caae786202514f
Author: Damian Guy <damian....@gmail.com>
Date:   2017-05-30T17:17:18Z

    delete and putIfAbsent should be synchronized

----


> ChangeLoggingKeyValueByteStore delete and putIfAbsent should be synchronized
> ----------------------------------------------------------------------------
>
>                 Key: KAFKA-5054
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5054
>             Project: Kafka
>          Issue Type: Bug
>          Components: streams
>    Affects Versions: 0.10.2.0
>            Reporter: Damian Guy
>            Assignee: Damian Guy
>             Fix For: 0.11.0.0
>
>
> {{putIfAbsent}} and {{delete}} should be synchronized as they involve at 
> least 2 operations on the underlying store and may result in inconsistent 
> results if someone were to query via IQ



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to