Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.15.0
Description
Currently, the threshold of the overlap fraction of incremental restoring `OVERLAP_FRACTION_THRESHOLD` is a hard-coded, fixed value.
public class RocksDBIncrementalCheckpointUtils { /** * The threshold of the overlap fraction of the handle's key-group range with target key-group * range to be an initial handle. */ private static final double OVERLAP_FRACTION_THRESHOLD = 0.75; ... }
`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, the old threshold no longer fits the current situation.
To make it easier to modify the threshold according to different situations, changing `OVERLAP_FRACTION_THRESHOLD` to be configurable is suggested.
Attachments
Issue Links
- is related to
-
FLINK-23399 Add a performance benchmark for statebackend rescaling
- Resolved
-
FLINK-21321 Change RocksDB incremental checkpoint re-scaling to use deleteRange
- Resolved
- links to