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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
Piotr Nowojski created FLINK-22592:
--------------------------------------

             Summary: 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.12.3, 1.13.0, 1.11.3
            Reporter: Piotr Nowojski


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)