Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-28038 RocksDB rescaling improvement & rescaling benchmark - umbrella ticket
  3. FLINK-26560

Make the threshold of the overlap fraction of incremental restoring configurable

    XMLWordPrintableJSON

Details

    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

          Activity

            People

              Yanfei Lei Yanfei Lei
              Yanfei Lei Yanfei Lei
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: