dawidwys commented on a change in pull request #15313:
URL: https://github.com/apache/flink/pull/15313#discussion_r603318579
##########
File path:
flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/io/checkpointing/WaitingForFirstBarrierUnaligned.java
##########
@@ -63,14 +63,18 @@ public BarrierHandlerAction barrierReceived(
CheckpointBarrier unalignedBarrier = checkpointBarrier.asUnaligned();
context.triggerTaskCheckpoint(unalignedBarrier);
for (CheckpointableInput input : inputs) {
- input.checkpointStarted(checkpointBarrier);
+ input.checkpointStarted(unalignedBarrier);
}
context.triggerGlobalCheckpoint(unalignedBarrier);
if (context.allBarriersReceived()) {
for (CheckpointableInput input : inputs) {
- input.checkpointStopped(checkpointBarrier.getId());
+ input.checkpointStopped(unalignedBarrier.getId());
+ }
+ if (alternating) {
+ return new AlternatingWaitingForFirstBarrier(inputs);
+ } else {
+ return this;
Review comment:
So far only in tests. See `UnalignedCheckpointsTest`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]