[
https://issues.apache.org/jira/browse/FLINK-30088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17635875#comment-17635875
]
Roman Boyko commented on FLINK-30088:
-------------------------------------
The fix is ready -
[https://github.com/rovboyko/flink/commit/cf8b7c1de5e3dfbe83106a4de89423e17e36e50e]
Waiting for task to be approved and assigned to me. Thanks.
> Excessive state updates for TtlMapState and TtlListState
> --------------------------------------------------------
>
> Key: FLINK-30088
> URL: https://issues.apache.org/jira/browse/FLINK-30088
> Project: Flink
> Issue Type: Bug
> Reporter: Roman Boyko
> Priority: Minor
> Attachments: image-2022-11-18-20-25-14-466.png,
> image-2022-11-18-20-27-24-054.png
>
>
> After merging the FLINK-21413 every ttl check for cleanup for TtlMapState and
> TtlListState (even without expired elements) leads to whole state update.
> This is because:
> - comparison by link inside `TtlIncrementalCleanup`:
> !image-2022-11-18-20-25-14-466.png|width=450,height=288!
> - and creating new map or list inside TtlMapState or TtlListState:
> !image-2022-11-18-20-27-24-054.png|width=477,height=365!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)