Martijn Visser created FLINK-41417:
--------------------------------------

             Summary: 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.3.2, 2.4.0, 2.5.0
            Reporter: Martijn Visser


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