AHeise commented on issue #9385: [FLINK-13635][datastream] Avoid unexpected 
interruption of AsyncFunction
URL: https://github.com/apache/flink/pull/9385#issuecomment-533432744
 
 
   Hi @ifndef-SleePy ,
   
   I just stumbled upon this PR (it's assigned to the wrong component).
   
   The issue that you reported and solved is not possible after merging 
https://github.com/apache/flink/pull/9564 and 
https://github.com/apache/flink/pull/9717 : All timer events and user results 
will be processed in the same mailbox thread, such that canceling the timer 
will always happen when the timer itself is not executed. That also solves the 
other undefined behavior of having a result right after the timeout triggered.
   
   I'd like to incorporate the tests of your patch partly in my PR 
https://github.com/apache/flink/pull/9717 and close this PR.
   
   

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