[ https://issues.apache.org/jira/browse/FLINK-13072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16877608#comment-16877608 ]
lynn1.zhang commented on FLINK-13072: ------------------------------------- from beginning, I also think the {{input.iterator()}} is not thread safe, but I try to print each element, all element print successfully. And I replace from RocksDBStateBachend to FsStateBackend, everything is right. > 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)