You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/04/05 14:25:00 UTC
[jira] [Commented] (FLINK-8699) Fix concurrency problem in rocksdb
full checkpoint
[ https://issues.apache.org/jira/browse/FLINK-8699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16427012#comment-16427012 ]
ASF GitHub Bot commented on FLINK-8699:
---------------------------------------
Github user StefanRRichter commented on the issue:
https://github.com/apache/flink/pull/5705
Thanks for the fixes. LGTM 👍 Will merge this. Sorry that this took so long.
> Fix concurrency problem in rocksdb full checkpoint
> --------------------------------------------------
>
> Key: FLINK-8699
> URL: https://issues.apache.org/jira/browse/FLINK-8699
> Project: Flink
> Issue Type: Bug
> Components: State Backends, Checkpointing
> Affects Versions: 1.5.0
> Reporter: Sihua Zhou
> Assignee: Sihua Zhou
> Priority: Blocker
> Fix For: 1.5.0
>
>
> In full checkpoint, `kvStateInformation` is not a copied object and it can be changed when writeKVStateMetaData() is invoking ... This can lead to problematic, which is serious.
> {code}
> private void writeKVStateMetaData() throws IOException {
> // ...
> for (Map.Entry<String, Tuple2<ColumnFamilyHandle, RegisteredKeyedBackendStateMetaInfo<?, ?>>> column :
> stateBackend.kvStateInformation.entrySet()) {
> }
> //...
> }
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)