Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-19442 Unaligned checkpoints 1.1
  3. FLINK-19533

Add state assignment to channel state during rescaling

    XMLWordPrintableJSON

Details

    Description

      Enhance StateAssignmentOperation to create a channel state mapping during rescaling, where channels before rescaling are mapped to channels after rescaling.

      Example:

      Before rescaling: parallelism of 2, channel 0 = key group range [0,64), channel 1 = key group range [64,128)

      After rescaling: parallelism of 3, channel 0 = key group range [0,43), channel 1 = key group range [43,86), channel 2 = key group range [86,128)

      Mapping: 0 -> [0, 1], 1 -> [1, 2]

       

      The mapping is passed to the respective channels through deployment descriptors. It will be used in a separate ticket to restore the correct buffers from pre-rescaling channels to post-rescaling channels.

      Attachments

        Issue Links

          Activity

            People

              arvid Arvid Heise
              arvid Arvid Heise
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: