[
https://issues.apache.org/jira/browse/FLINK-10996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martijn Visser reopened FLINK-10996:
------------------------------------
Assignee: (was: WenJun Min)
Reopening, since this was closed in favour of FLINK-7384, which never landed.
The docs point to WITHIN because MATCH_RECOGNIZE ignores
{{table.exec.state.ttl}}, but without WITHIN the state of a key that never
comes back stays forever: on master, 1000 one-row keys still leave 3000 state
entries after an hour.
> Enable state ttl in cep
> -----------------------
>
> Key: FLINK-10996
> URL: https://issues.apache.org/jira/browse/FLINK-10996
> Project: Flink
> Issue Type: Improvement
> Components: Library / CEP
> Affects Versions: 1.7.1
> Reporter: WenJun Min
> Priority: Major
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> In flink cep, although the within clause can clean up the data when data is
> expire. But If the specific key data never come again, the partial matched
> data will not be deleted again which will lead to the state leak. With the
> state ttl feature support by flink runtime, we has the ability to expire the
> correlative data asyncly .
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)