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

[jira] [Updated] (FLINK-27311) Rocksdb mapstate behaves unexpectedly

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

Flink Jira Bot updated FLINK-27311:
-----------------------------------
    Labels: MapState State rocksdb stale-major  (was: MapState State rocksdb)

I am the [Flink Jira Bot|https://github.com/apache/flink-jira-bot/] and I help the community manage its development. I see this issues has been marked as Major but is unassigned and neither itself nor its Sub-Tasks have been updated for 60 days. I have gone ahead and added a "stale-major" to the issue". If this ticket is a Major, please either assign yourself or give an update. Afterwards, please remove the label or in 7 days the issue will be deprioritized.


> Rocksdb mapstate behaves unexpectedly 
> --------------------------------------
>
>                 Key: FLINK-27311
>                 URL: https://issues.apache.org/jira/browse/FLINK-27311
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / State Backends, Stateful Functions
>    Affects Versions: 1.14.4
>         Environment: Kubernetes
>            Reporter: Jonathan diamant
>            Priority: Major
>              Labels: MapState, State, rocksdb, stale-major
>
> We use rocksDb backend for our state and we experience an unexpected behavior. The state we use is MapState<String, List<Object>> and when a restart occurs and the state is being recovered from the last checkpoints, it seems that not all the list corresponding to a certain key has been loaded and only after all the state has been recovered it behaves as expected. 
> Our guess is that while recovering the state, rocksdb recovers the state in chunks and loads entries of the map not as a whole even though we expect that for every key, the value (a list) will be loaded as one object at once.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)