[
https://issues.apache.org/jira/browse/FLINK-13072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16877656#comment-16877656
]
Congxian Qiu(klion26) edited comment on FLINK-13072 at 7/3/19 9:03 AM:
-----------------------------------------------------------------------
I think currently we assume that all state operate are single-thread, for
{{RocksDBStateBackend}} state will combine the binary key, when operating with
multiple threads this will have problem, because the combined key may be wrong.
was (Author: klion26):
I think currently we assume that all state operate are single-thread, for
{{RocksDBStateBackend}} state will combine the binary key, when operating with
multiple threads this will have problem.
> RocksDBStateBachend is not thread safe and data loss silently
> -------------------------------------------------------------
>
> Key: FLINK-13072
> URL: https://issues.apache.org/jira/browse/FLINK-13072
> Project: Flink
> Issue Type: Bug
> Components: Runtime / State Backends
> Affects Versions: 1.8.0, 1.8.1
> Reporter: lynn1.zhang
> Priority: Blocker
> Attachments: flink-demo.zip
>
>
> I create 2 mapstates in one operator, then create 2 threads in apply method,
> each thread operate each map state(the operator is same), the expect result
> is that 2 state have the same result but not. I upload the code, please help
> to try it.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)