flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-6467) Potential lack of synchronization w.r.t. newSstFiles in RocksDBKeyedStateBackend#releaseResources()
Date Fri, 05 May 2017 18:21:04 GMT
Ted Yu created FLINK-6467:
-----------------------------

             Summary: 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
            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)

Mime
View raw message