You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Roman Boyko (Jira)" <ji...@apache.org> on 2022/11/18 13:29:00 UTC
[jira] [Created] (FLINK-30088) Excessive state updates for TtlMapState and TtlListState
Roman Boyko created FLINK-30088:
-----------------------------------
Summary: 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
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)