GitHub user tillrohrmann opened a pull request:

    https://github.com/apache/flink/pull/3264

    [FLINK-5652] [asyncIO] Cancel timers when completing a 
StreamRecordQueueEntry

    Whenever a StreamRecordQueueEntry has been completed we no longer need the 
registered timeout.
    Therefore, we have to cancel the corresponding ScheduledFuture so that the 
system knows that
    it can remove the associated TriggerTask. This is important since the 
TriggerTask contains a
    reference on the StreamRecordQueueEntry. Consequently, such a task will 
prevent the
    StreamRecordQueueEntry from being garbage collected.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/tillrohrmann/flink asyncIOFixTimers

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/3264.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3264
    
----

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to