[ 
https://issues.apache.org/jira/browse/FLINK-30088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hangxiang Yu updated FLINK-30088:
---------------------------------
    Component/s: Runtime / State Backends

> Excessive state updates for TtlMapState and TtlListState
> --------------------------------------------------------
>
>                 Key: FLINK-30088
>                 URL: https://issues.apache.org/jira/browse/FLINK-30088
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / State Backends
>            Reporter: Roman Boyko
>            Assignee: Roman Boyko
>            Priority: Minor
>              Labels: pull-request-available, stale-assigned
>         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)

Reply via email to