AHeise commented on a change in pull request #10345: [FLINK-12484][runtime] 
synchronize all mailbox actions
URL: https://github.com/apache/flink/pull/10345#discussion_r352365359
 
 

 ##########
 File path: 
flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/mailbox/MailboxProcessor.java
 ##########
 @@ -152,7 +160,7 @@ public void runMailboxLoop() throws Exception {
                final MailboxController defaultActionContext = new 
MailboxController(this);
 
                while (processMail(localMailbox)) {
-                       
mailboxDefaultAction.runDefaultAction(defaultActionContext);
+                       
mailboxDefaultAction.runDefaultAction(defaultActionContext); // currently, lock 
is acquired inside each action
 
 Review comment:
   Do you plan to change that? Is that even possible? Or is it the idea to only 
acquire it for legacy source tasks and we just accept the performance 
implications?

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