This is an automated email from the ASF dual-hosted git repository.
1996fanrui pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
from 4732a5210a8 [FLINK-40111][table-planner] Fall back to retract for a
keyless sink without an upsert key
new 4afea389445 [FLINK-39521][test] Temporarily remove during-recovery
flag from ITCase randomization
new 6265c89af5d [FLINK-39521][network] BufferManager: gate credit
notification behind notifyInitiallyEnabled
new f615ff7feea [FLINK-39521][network] Add RecoverableInputChannel
contract and recovery sentinels
new 5a2151f091d [FLINK-39521][network] LocalInputChannel: push-based
recovery state
new 9cb272efdcb [FLINK-39521][network] RemoteInputChannel: push-based
recovery state
new e480c74453d [FLINK-39521][network] Convert recovered channels via the
push interface; thread needsRecovery through gates
new bf14146ea15 [FLINK-39521][network] Propagate needsRecovery in
PartitionRequest; start view reader with zero credit
new c2f0c123409 [FLINK-39521][network] CheckpointedInputGate: consume
EndOfFetchedChannelStateEvent
The 8 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../channel/RecoveryCheckpointBarrier.java | 69 +++
.../network/api/serialization/EventSerializer.java | 20 +
.../CreditBasedSequenceNumberingViewReader.java | 9 +-
.../runtime/io/network/netty/NettyMessage.java | 14 +-
.../network/netty/NettyPartitionRequestClient.java | 3 +-
.../netty/PartitionRequestServerHandler.java | 5 +-
.../network/partition/consumer/BufferManager.java | 44 +-
...ent.java => EndOfFetchedChannelStateEvent.java} | 31 +-
.../network/partition/consumer/InputChannel.java | 8 +
.../io/network/partition/consumer/InputGate.java | 9 +
.../partition/consumer/LocalInputChannel.java | 573 ++++++++++++++++-----
.../consumer/LocalRecoveredInputChannel.java | 8 +-
.../consumer/RecoverableInputChannel.java | 63 +++
.../partition/consumer/RecoveredInputChannel.java | 68 ++-
.../partition/consumer/RemoteInputChannel.java | 430 ++++++++++++++--
.../consumer/RemoteRecoveredInputChannel.java | 8 +-
.../partition/consumer/SingleInputGate.java | 25 +-
.../network/partition/consumer/UnionInputGate.java | 7 +-
.../partition/consumer/UnknownInputChannel.java | 43 +-
.../runtime/taskmanager/InputGateWithMetrics.java | 5 +
.../io/checkpointing/CheckpointedInputGate.java | 11 +
.../channel/RecoveryCheckpointBarrierTest.java | 53 ++
.../network/netty/CancelPartitionRequestTest.java | 6 +-
...editBasedPartitionRequestClientHandlerTest.java | 3 +-
...CreditBasedSequenceNumberingViewReaderTest.java | 2 +-
.../NettyMessageServerSideSerializationTest.java | 4 +-
.../network/netty/PartitionRequestQueueTest.java | 24 +-
.../netty/PartitionRequestRegistrationTest.java | 12 +-
.../netty/PartitionRequestServerHandlerTest.java | 4 +-
.../netty/ServerTransportErrorHandlingTest.java | 3 +-
.../partition/consumer/InputChannelBuilder.java | 21 +-
.../partition/consumer/InputChannelTest.java | 6 +
.../partition/consumer/LocalInputChannelTest.java | 470 ++++++++++++++---
.../consumer/LocalRecoveredInputChannelTest.java | 51 ++
.../consumer/RecoveredInputChannelTest.java | 137 ++---
.../partition/consumer/RemoteInputChannelTest.java | 518 ++++++++++++++++++-
.../consumer/RemoteRecoveredInputChannelTest.java | 51 ++
.../partition/consumer/TestInputChannel.java | 49 +-
.../partition/consumer/UnionInputGateTest.java | 4 +-
.../benchmark/SingleInputGateBenchmarkFactory.java | 6 +-
.../streaming/util/TestStreamEnvironment.java | 6 +-
.../RecoveredStateFilteringLargeRecordITCase.java | 5 +
42 files changed, 2453 insertions(+), 435 deletions(-)
create mode 100644
flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/channel/RecoveryCheckpointBarrier.java
copy
flink-runtime/src/main/java/org/apache/flink/runtime/io/network/partition/consumer/{EndOfOutputChannelStateEvent.java
=> EndOfFetchedChannelStateEvent.java} (58%)
create mode 100644
flink-runtime/src/main/java/org/apache/flink/runtime/io/network/partition/consumer/RecoverableInputChannel.java
create mode 100644
flink-runtime/src/test/java/org/apache/flink/runtime/checkpoint/channel/RecoveryCheckpointBarrierTest.java
create mode 100644
flink-runtime/src/test/java/org/apache/flink/runtime/io/network/partition/consumer/LocalRecoveredInputChannelTest.java
create mode 100644
flink-runtime/src/test/java/org/apache/flink/runtime/io/network/partition/consumer/RemoteRecoveredInputChannelTest.java