Arvid Heise created FLINK-19533: ----------------------------------- Summary: Add state assignment to channel state during rescaling Key: FLINK-19533 URL: https://issues.apache.org/jira/browse/FLINK-19533 Project: Flink Issue Type: Sub-task Components: Runtime / Checkpointing Affects Versions: 1.12.0 Reporter: Arvid Heise Assignee: Arvid Heise
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. -- This message was sent by Atlassian Jira (v8.3.4#803005)