You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Stefan Richter (JIRA)" <ji...@apache.org> on 2018/02/22 15:05:01 UTC

[jira] [Closed] (FLINK-8639) Fix always need to seek multiple times when iterator RocksDBMapState

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

Stefan Richter closed FLINK-8639.
---------------------------------
    Resolution: Fixed

Merged inĀ 1e315f0.

> Fix always need to seek multiple times when iterator RocksDBMapState
> --------------------------------------------------------------------
>
>                 Key: FLINK-8639
>                 URL: https://issues.apache.org/jira/browse/FLINK-8639
>             Project: Flink
>          Issue Type: Improvement
>          Components: State Backends, Checkpointing
>    Affects Versions: 1.4.0
>            Reporter: Sihua Zhou
>            Assignee: Sihua Zhou
>            Priority: Critical
>             Fix For: 1.5.0
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)