You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/04/01 10:33:00 UTC
[jira] [Updated] (FLINK-26757) change the default value of state.backend.rocksdb.restore-overlap-fraction-threshold
[ https://issues.apache.org/jira/browse/FLINK-26757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated FLINK-26757:
-----------------------------------
Labels: pull-request-available (was: )
> change the default value of state.backend.rocksdb.restore-overlap-fraction-threshold
> ------------------------------------------------------------------------------------
>
> Key: FLINK-26757
> URL: https://issues.apache.org/jira/browse/FLINK-26757
> Project: Flink
> Issue Type: Improvement
> Components: Runtime / State Backends
> Affects Versions: 1.16.0
> Reporter: Yanfei Lei
> Assignee: Yanfei Lei
> Priority: Major
> Labels: pull-request-available
> Attachments: 截屏2022-03-21 上午11.50.28.png
>
>
> `state.backend.rocksdb.restore-overlap-fraction-threshold` is used to control how to restore a state handle, different thresholds can affect the performance of restoring. The behavior of deletion in restoring has been changed after FLINK-21321.
> In theory, setting the default value to 0 is most suitable, since `deleteRange()` takes less time than creating a new RocksDB instance and then scan-and-put the records. In fact, we also have some experimental data that the default value of 0 is more suitable. Here is a comparison of initialization times for different thresholds, we can see that the default value to 0 takes less time.
> !截屏2022-03-21 上午11.50.28.png!
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)