[ 
https://issues.apache.org/jira/browse/FLINK-39520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rui Fan resolved FLINK-39520.
-----------------------------
    Fix Version/s: 2.4.0
       Resolution: Fixed

Merged to master: 4aff72938d631b5478ac592631155cac92fe58bd to 
8cd1c0ec6579b5d6efcc5d876aec1d1b5047921e

> Preparatory refactoring for channel-state recovery: split the recovered-state 
> handler, add InputGate#getChannel(InputChannelInfo)
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-39520
>                 URL: https://issues.apache.org/jira/browse/FLINK-39520
>             Project: Flink
>          Issue Type: Sub-task
>            Reporter: Rui Fan
>            Assignee: Rui Fan
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.4.0
>
>
> Pure refactoring — no behavior or semantic change; all existing tests pass 
> unmodified except mechanical adaptations (a renamed trace label, constructor 
> plumbing in tests).
> Scope:
>  * Decouple LocalInputChannel recovery wiring from toBeConsumedBuffers.
>  * Split the monolithic InputChannelRecoveredStateHandler into an abstract 
> base AbstractInputChannelRecoveredStateHandler (channel-mapping state and 
> logic, extracted verbatim) with two concrete handlers — NoSpillingHandler 
> (the old non-filtering branch) and FilteringHandler (the old filtering 
> branch) — selected by a static create(...) factory equivalent to the old 
> internal branch. ResultSubpartitionRecoveredStateHandler is untouched.
>  * Add InputGate#getChannel(InputChannelInfo) (UnionInputGate resolves by 
> gate index, fixing global-vs-member index semantics) and switch 
> AbstractStreamTaskNetworkInput to it.
>  * Additive NetworkActionsLogger#tracePersist overload; widen 
> RecoveredInputChannel#releaseAllResources to public.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to