You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Robert Metzger (JIRA)" <ji...@apache.org> on 2017/05/08 18:42:04 UTC

[jira] [Updated] (FLINK-6467) Potential lack of synchronization w.r.t. newSstFiles in RocksDBKeyedStateBackend#releaseResources()

     [ https://issues.apache.org/jira/browse/FLINK-6467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Metzger updated FLINK-6467:
----------------------------------
    Component/s: State Backends, Checkpointing

> Potential lack of synchronization w.r.t. newSstFiles in RocksDBKeyedStateBackend#releaseResources()
> ---------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-6467
>                 URL: https://issues.apache.org/jira/browse/FLINK-6467
>             Project: Flink
>          Issue Type: Bug
>          Components: State Backends, Checkpointing
>            Reporter: Ted Yu
>            Priority: Minor
>
> {code}
>       if (canceled) {
>         List<StateObject> statesToDiscard = new ArrayList<>();
>         statesToDiscard.add(metaStateHandle);
>         statesToDiscard.addAll(miscFiles.values());
>         statesToDiscard.addAll(newSstFiles.values());
> {code}
> It seems access to newSstFiles should be protected by stateBackend.asyncSnapshotLock



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)