Type alias TierConsolidationPolicy

TierConsolidationPolicy: {
    minScore?: number;
    segmentsBytesFloor?: number;
    segmentsBytesMax?: number;
    segmentsMax?: number;
    segmentsMin?: number;
    type: "tier";
}

Policy to consolidate if the sum of all candidate segment byte size is less than the total segment byte size multiplied by a given threshold.

Type declaration

  • Optional minScore?: number

    Consolidation candidates with a score less than this value will be filtered out.

    Default: 0

  • Optional segmentsBytesFloor?: number

    Size below which all segments are treated as equivalent.

    Default: 2097152 (2 MiB)

  • Optional segmentsBytesMax?: number

    Maximum allowed size of all consolidation segments.

    Default: 5368709120 (5 GiB)

  • Optional segmentsMax?: number

    Maximum number of segments that are evaluated as candidates for consolidation.

    Default: 10

  • Optional segmentsMin?: number

    Minimum number of segments that are evaluated as candidates for consolidation.

    Default: 1

  • type: "tier"

    Type of consolidation policy.

Generated using TypeDoc