Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-27311

Rocksdb mapstate behaves unexpectedly

    XMLWordPrintableJSON

Details

    • Important

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            JonathanDiamant Jonathan diamant
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: