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

Fix always need to seek multiple times when iterator RocksDBMapState

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment