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

Fix always need to seek multiple times when iterator RocksDBMapState

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.4.0
    • 1.5.0
    • None

    Description

      Currently, almost every time we want to iterator a RocksDBMapState we need to do seek at least 2 times (Seek is a poor performance action for rocksdb cause it can't use the bloomfilter). This is because `RocksDBMapIterator` use a `cacheEntries` to cache the seek values every time and the `cacheEntries`'s init size is 1.

      Attachments

        Issue Links

          Activity

            People

              sihuazhou Sihua Zhou
              sihuazhou Sihua Zhou
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: