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

ASF GitHub Bot updated FLINK-41417:
-----------------------------------
    Labels: pull-request-available  (was: )

> TtlMapState async iterators always report isEmpty() as false
> ------------------------------------------------------------
>
>                 Key: FLINK-41417
>                 URL: https://issues.apache.org/jira/browse/FLINK-41417
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / Async State Processing
>    Affects Versions: 2.4.0, 2.5.0, 2.3.2
>            Reporter: Martijn Visser
>            Priority: Minor
>              Labels: pull-request-available
>
> TtlMapState.AsyncEntriesIterator#isEmpty returns false unconditionally. So on 
> ForSt with TTL enabled, asyncEntries(), asyncKeys() and asyncValues() report 
> a non-empty iterator for an empty or cleared map, while without TTL they 
> report true. Delegating to the wrapped iterator matches the non-TTL result, 
> except when every entry has expired.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to