dawidwys commented on a change in pull request #16589:
URL: https://github.com/apache/flink/pull/16589#discussion_r679126283



##########
File path: 
flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/SourceStreamTask.java
##########
@@ -68,6 +68,12 @@
      */
     private volatile boolean wasStoppedExternally = false;
 
+    /**
+     * Indicates whether the source operator has been cancelled for 
stop-with-savepoint --drain, in
+     * this case we want to ignore interrupt exceptions thrown when stopping.
+     */
+    private volatile boolean wasDrained = false;
+

Review comment:
       I should've removed `stop-with-savepoint --drain` from the description 
of `wasStoppedExternally`.




-- 
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]


Reply via email to