AHeise commented on a change in pull request #17019:
URL: https://github.com/apache/flink/pull/17019#discussion_r698393854



##########
File path: 
flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/operators/sink/CommitterOperator.java
##########
@@ -91,12 +106,14 @@ public void snapshotState(StateSnapshotContext context) 
throws Exception {
     @Override
     public void endInput() throws Exception {
         emitCommittables(committerHandler.endOfInput());
+        retryer.retryIndefinitely();
     }
 
     @Override
     public void notifyCheckpointComplete(long checkpointId) throws Exception {
         super.notifyCheckpointComplete(checkpointId);
         
emitCommittables(committerHandler.notifyCheckpointCompleted(checkpointId));
+        retryer.retryWithDelay();

Review comment:
       We only enqueue if there are commits that need retry now.




-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to