fredia commented on code in PR #19309:
URL: https://github.com/apache/flink/pull/19309#discussion_r913563055
##########
flink-runtime/src/main/java/org/apache/flink/runtime/state/heap/HeapKeyedStateBackend.java:
##########
@@ -333,13 +334,17 @@ public SavepointResources<K> savepoint() {
}
@Override
- public void notifyCheckpointComplete(long checkpointId) {
- // Nothing to do
+ public void notifyCheckpointComplete(long checkpointId) throws Exception {
+ if (checkpointStrategy instanceof CheckpointListener) {
+ ((CheckpointListener)
checkpointStrategy).notifyCheckpointComplete(checkpointId);
+ }
}
@Override
- public void notifyCheckpointAborted(long checkpointId) {
- // nothing to do
+ public void notifyCheckpointAborted(long checkpointId) throws Exception {
Review Comment:
`notifyCheckpointAborted()` is not implemented/used in
`IncrementalHeapSnapshotStrategy` , is it necessary to modify this method?
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]