flink-dev 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-5855) Unprotected access to pendingFilesPerCheckpoint in BucketingSink
Date Mon, 20 Feb 2017 20:56:44 GMT
Ted Yu created FLINK-5855:
-----------------------------

             Summary: Unprotected access to pendingFilesPerCheckpoint in BucketingSink
                 Key: FLINK-5855
                 URL: https://issues.apache.org/jira/browse/FLINK-5855
             Project: Flink
          Issue Type: Bug
            Reporter: Ted Yu
            Priority: Minor


{code}    handlePendingFilesForPreviousCheckpoints(restoredState.pendingFilesPerCheckpoint);

    synchronized (restoredState.pendingFilesPerCheckpoint) {
      restoredState.pendingFilesPerCheckpoint.clear();
{code}
Lock on pendingFilesPerCheckpoint should be obtained prior to the call to handlePendingFilesForPreviousCheckpoints().



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

Mime
View raw message