GitHub

CompactionOptions

API reference for CompactionOptions.

Tuning for encrypted remote compaction: grace keeps a superseded or withdrawn generation before it is pruned (default 30 days); lag is how old data must be, by storage time, before it can be compacted (24 hours); stage_ttl is how long a stage claim lasts after its latest Part (10 minutes); threshold_floor is the fewest new entries that make compaction wanted (1,000); sweep_interval is how often pruning runs (1 hour).

Attributes

AttributeTypeDescription
graceDurationInput
lagDurationInput
stage_ttlDurationInput
threshold_floorint
sweep_intervalDurationInput