VariableLOCAL_STORAGE_PREFILL_PERCENTAGE
Introduced Version1.109.0
Description Controls eager prefilling of disks from bucket storage
Default70% of LOCAL_STORAGE_PERCENTAGE
Minimum0
MaximumLOCAL_STORAGE_PERCENTAGE -1

This variable controls eager prefilling of disks from bucket storage.

LogScale will eagerly download segments from bucket storage to hit the target fill rate on the local disk, controlled by the new setting.

The minimum allowed value is 0, which disables prefilling. The maximum value is equal to the value of LOCAL_STORAGE_PERCENTAGE, minus one. The default value is 70% of the percentage set in LOCAL_STORAGE_PERCENTAGE.

In previous versions, LogScale would also prefill, but the target fill rate was not controllable, and was hard coded to 70% of the percentage set in LOCAL_STORAGE_PERCENTAGE.