You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Arvid Heise (Jira)" <ji...@apache.org> on 2020/11/06 07:05:00 UTC

[jira] [Commented] (FLINK-19533) Add state assignment to channel state during rescaling

    [ https://issues.apache.org/jira/browse/FLINK-19533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17227203#comment-17227203 ] 

Arvid Heise commented on FLINK-19533:
-------------------------------------

Merged into master as a2267fa28a44c4cf4cc906859c5531c94e994bac .

> 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
>            Priority: Major
>              Labels: pull-request-available
>
> 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)