GitHub user NicoK opened a pull request:

    https://github.com/apache/flink/pull/3143

    [FLINK-5530] fix race condition in AbstractRocksDBState#getSerializedValue

    `AbstractRocksDBState#getSerializedValue()` uses the same key serialisation
    stream as the ordinary state access methods but is called in parallel during
    state queries thus violating the assumption of only one thread accessing it.
    
    This may lead to either wrong results in queries or corrupt data while 
queries
    are executed.

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

    $ git pull https://github.com/NicoK/flink flink-5530

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

    https://github.com/apache/flink/pull/3143.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 #3143
    
----
commit 7fa4c61a04cb96b94907e6ec3803b994d3c6643d
Author: Nico Kruber <n...@data-artisans.com>
Date:   2017-01-17T16:38:29Z

    [FLINK-5530] fix race condition in AbstractRocksDBState#getSerializedValue
    
    AbstractRocksDBState#getSerializedValue() uses the same key serialisation
    stream as the ordinary state access methods but is called in parallel during
    state queries thus violating the assumption of only one thread accessing it.
    
    This may lead to either wrong results in queries or corrupt data while 
queries
    are executed.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to