Izeren commented on code in PR #29954:
URL: https://github.com/apache/flink/pull/29954#discussion_r4665666698


##########
flink-runtime/src/main/java/org/apache/flink/streaming/runtime/tasks/mailbox/TaskMailboxImpl.java:
##########
@@ -43,16 +44,37 @@
 /**
  * Implementation of {@link TaskMailbox} in a {@link 
java.util.concurrent.BlockingQueue} fashion and
  * tailored towards our use case with multiple writers and single reader.
+ *
+ * <p>Mails are stored in three containers:
+ *
+ * <ul>
+ *   <li>{@link #urgentQueue}: urgent mails ({@link 
MailboxExecutor.MailOptions#isUrgent()}) in

Review Comment:
   I agree with that, but I still don't think that UC mails should be allowed 
to overtake control mails (as that might risk causing delays for propagating 
job failures and lead to slow/stuck restarts). I was worried about that in 
original PR, but now we add even more events that can overtake control mails



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