You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Shimin Yang (JIRA)" <ji...@apache.org> on 2018/11/26 11:25:00 UTC

[jira] [Commented] (FLINK-11002) Trigger.clear() will not be called after purged window

    [ https://issues.apache.org/jira/browse/FLINK-11002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16698810#comment-16698810 ] 

Shimin Yang commented on FLINK-11002:
-------------------------------------

The Trigger#clear will be finally be called in onElement and onProcessingTime via clearAllState method.

> Trigger.clear() will not be called after purged window
> ------------------------------------------------------
>
>                 Key: FLINK-11002
>                 URL: https://issues.apache.org/jira/browse/FLINK-11002
>             Project: Flink
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.6.2
>            Reporter: Yuan Yifan
>            Priority: Major
>
> The `clear` method (org.apache.flink.streaming.api.windowing.triggers.Trigger#clear) will not be called while return a `TriggerResult.FIRE_AND_PURGE` in onElement/onProcessingTime/onEventTime, this may cause the trigger can't purge after trggered the condition.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)