zhijiangW 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_r403717544
########## File path: flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/SubtaskCheckpointCoordinatorImpl.java ########## @@ -65,6 +75,8 @@ public void checkpointState( CheckpointMetrics checkpointMetrics, OperatorChain<?, ?> operatorChain, Supplier<Boolean> isCanceled) throws Exception { + checkNotNull(checkpointOptions); Review comment: When I checked the commit "[FLINK-16744][task][refactor] extract SubtaskCheckpointCoordinator", the arguments of `CheckpointMetaData`, `CheckpointOptions` and `operatorChain` are already referenced in below lines, so i suggested `checkNotNull` for them in that commit. ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services