[
https://issues.apache.org/jira/browse/FLINK-35130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17848153#comment-17848153
]
Yuxin Tan commented on FLINK-35130:
-----------------------------------
master(1.20.0): 46aaea8083047fc86c35491336d795ddcd565128
> Simplify AvailabilityNotifierImpl to support speculative scheduler and
> improve performance
> ------------------------------------------------------------------------------------------
>
> Key: FLINK-35130
> URL: https://issues.apache.org/jira/browse/FLINK-35130
> Project: Flink
> Issue Type: Improvement
> Components: Runtime / Network
> Affects Versions: 1.20.0
> Reporter: Yuxin Tan
> Assignee: Yuxin Tan
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.20.0
>
>
> The AvailabilityNotifierImpl in SingleInputGate has maps storing the channel
> ids. But the map key is the result partition id, which will change according
> to the different attempt numbers when speculation is enabled. This can be
> resolved by using `inputChannels` to get channel and the map key of
> inputChannels will not vary with the attempts.
> In addition, using that map instead can also improve performance for large
> scale jobs because no extra maps are created.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)