Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-2491 Support Checkpoints After Tasks Finished
  3. FLINK-23475

Handle BroadcastState with finished operators

    XMLWordPrintableJSON

Details

    Description

      BroadcastState assumes all subtasks state is the same. When rescaling it reassigns states of all tasks to new tasks. If the parallelism is different it assigns the old states to new range of states in a round robin fashion.

      We must make sure that an empty state is not reassigned to running subtasks in org.apache.flink.runtime.checkpoint.RoundRobinOperatorStateRepartitioner#repartitionBroadcastState

      Attachments

        Issue Links

          Activity

            People

              gaoyunhaii Yun Gao
              dwysakowicz Dawid Wysakowicz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: