Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-6400

Lack of protection accessing masterHooks in CheckpointCoordinator#triggerCheckpoint

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.0
    • Component/s: None
    • Labels:
      None

      Description

      Here is related code:

          synchronized (triggerLock) {
      ...
            try {
              List<MasterState> masterStates = MasterHooks.triggerMasterHooks(masterHooks.values(),
      

      masterHooks is protected by lock in other methods while triggerLock is only used in CheckpointCoordinator#triggerCheckpoint()

        Attachments

          Activity

            People

            • Assignee:
              StephanEwen Stephan Ewen
              Reporter:
              yuzhihong@gmail.com Ted Yu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: