You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Piotr Nowojski (Jira)" <ji...@apache.org> on 2021/05/09 19:08:00 UTC

[jira] [Updated] (FLINK-22592) numBuffersInLocal is always zero when using unaligned checkpoints

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

Piotr Nowojski updated FLINK-22592:
-----------------------------------
    Labels: beginner-friendly  (was: )

> numBuffersInLocal is always zero when using unaligned checkpoints
> -----------------------------------------------------------------
>
>                 Key: FLINK-22592
>                 URL: https://issues.apache.org/jira/browse/FLINK-22592
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / Network
>    Affects Versions: 1.11.3, 1.13.0, 1.12.3
>            Reporter: Piotr Nowojski
>            Priority: Major
>              Labels: beginner-friendly
>
> This is because {{LocalRecoveredInputChannel#toInputChannelInternal}} is passing wrong parameter to {{LocalInputChannel}}'s constructor (twice {{numBytesIn}}):
> {code:java}
>     protected InputChannel toInputChannelInternal() {
>         return new LocalInputChannel(
>                 inputGate,
>                 getChannelIndex(),
>                 partitionId,
>                 partitionManager,
>                 taskEventPublisher,
>                 initialBackoff,
>                 maxBackoff,
>                 numBytesIn,
>                 numBytesIn,
>                 channelStateWriter);
>     }
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)