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

Lack of protection accessing masterHooks in CheckpointCoordinator#triggerCheckpoint

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.3.0
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: