[
https://issues.apache.org/jira/browse/FLINK-13072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16881788#comment-16881788
]
Yu Li commented on FLINK-13072:
-------------------------------
Correct me if I'm wrong, but checking our existing [state
document|https://ci.apache.org/projects/flink/flink-docs-release-1.8/dev/stream/state/]
it seems there's no explicit clarification about whether state is thread safe.
Besides this issue, I could see similar questions on
[stackoverflow|https://stackoverflow.com/questions/55208345/flink-operator-state-is-thread-safe]
and in our [mailing list|https://s.apache.org/ya10u], so I'm considering
adding a paragraph in our document for explicit clarification. Wdyt? Thanks.
> 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, image-2019-07-03-17-04-17-253.png
>
>
> 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)