You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Dian Fu (Jira)" <ji...@apache.org> on 2022/04/07 11:05:00 UTC

[jira] [Closed] (FLINK-27108) State cache clean up doesn't work as expected

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

Dian Fu closed FLINK-27108.
---------------------------
    Resolution: Fixed

Fixed in:
- master via ead6db797923d665edcbfdb94e2e1a847a356ff7
- release-1.15 via a833196ce58e9ce7a42306bc4ae44c6ed66283d5
- release-1.14 via c372ddd3ea1d0239a9177cade2207bf9ba2b24a2
- release-1.13 via 66d896081ae9c9572972ec13cef8169d57391444

> State cache clean up doesn't work as expected
> ---------------------------------------------
>
>                 Key: FLINK-27108
>                 URL: https://issues.apache.org/jira/browse/FLINK-27108
>             Project: Flink
>          Issue Type: Bug
>          Components: API / Python
>    Affects Versions: 1.13.0, 1.14.0, 1.15.0
>            Reporter: Dian Fu
>            Assignee: Dian Fu
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.15.0, 1.13.7, 1.14.5
>
>
> The test case test_session_window_late_merge failed when working on FLINK-26190. After digging into this problem, I found that the reason should be that the logic to determine [whether a key & namespace exists in state cache is wrong|https://github.com/apache/flink/blob/master/flink-python/pyflink/fn_execution/state_impl.py#L1183] is wrong. It causes the state cache isn't clean up when it becomes invalidate. 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)