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-6400) Lack of protection accessing masterHooks in CheckpointCoordinator#triggerCheckpoint
Date Thu, 27 Apr 2017 15:55:04 GMT
Ted Yu created FLINK-6400:
-----------------------------

             Summary: Lack of protection accessing masterHooks in CheckpointCoordinator#triggerCheckpoint
                 Key: FLINK-6400
                 URL: https://issues.apache.org/jira/browse/FLINK-6400
             Project: Flink
          Issue Type: Bug
            Reporter: Ted Yu
            Priority: Minor


Here is related code:
{code}
    synchronized (triggerLock) {
...
      try {
        List<MasterState> masterStates = MasterHooks.triggerMasterHooks(masterHooks.values(),
{code}
masterHooks is protected by lock in other methods while triggerLock is only used in CheckpointCoordinator#triggerCheckpoint()



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

Mime
View raw message