StefanRRichter commented on a change in pull request #8826: 
[FLINK-12479][operators] Integrate StreamInputProcessor(s) with mailbox
URL: https://github.com/apache/flink/pull/8826#discussion_r299931559
 
 

 ##########
 File path: 
flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/mailbox/execution/MailboxProcessor.java
 ##########
 @@ -286,12 +288,20 @@ public void resume() {
                        if (taskMailboxExecutor.isMailboxThread()) {
                                resumeInternal();
                        } else {
-                               try {
-                                       mailbox.putMail(this::resumeInternal);
-                               } catch (InterruptedException ie) {
+                               boolean delivered = false;
+                               boolean interrupted = false;
+                               while (!delivered) {
 
 Review comment:
   With the latest update to my PR, making the mailbox unbounded, this whole 
fix should no longer be required.

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

Reply via email to