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

Clearing registeredStates map should be protected in SharedStateRegistry#clear

    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

        public void clear() {
          registeredStates.clear();
        }
      

      In other places of SharedStateRegistry, lock is taken on registeredStates before operation.
      We should do the same for clear() method.

        Attachments

          Activity

            People

            • Assignee:
              srichter Stefan Richter
              Reporter:
              yuzhihong@gmail.com Ted Yu
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: