rkhachatryan commented on a change in pull request #11515: [FLINK-16744][task]
implement channel state persistence for unaligned checkpoints
URL: https://github.com/apache/flink/pull/11515#discussion_r401901521
##########
File path:
flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/SubtaskCheckpointCoordinatorImpl.java
##########
@@ -97,24 +123,26 @@ public void checkpointState(
// Step (3): Take the state snapshot. This should be largely
asynchronous, to not
// impact progress of the streaming topology
- CheckpointStreamFactory storage =
checkpointStorage.resolveCheckpointStorageLocation(
- checkpointMetaData.getCheckpointId(),
- checkpointOptions.getTargetLocation());
-
long startSyncPartNano = System.nanoTime();
HashMap<OperatorID, OperatorSnapshotFutures>
operatorSnapshotsInProgress = new
HashMap<>(operatorChain.getNumberOfOperators());
+ ChannelStateWriteResult channelStateWriteResult =
Review comment:
There is todo in `StreamTask` near `SubtaskCheckpointCoordinatorImpl`
constructor:
```
false); // todo: pass true if unaligned checkpoints enabled
```
(I expect the exact type of this option could change)
----------------------------------------------------------------
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]
With regards,
Apache Git Services