mirror of
https://github.com/prometheus/prometheus.git
synced 2025-08-21 22:51:01 +02:00
If only very few chunks are to be truncated from a very large series file, the rewrite of the file is a lorge overhead. With this change, a certain ratio of the file has to be dropped to make it happen. While only causing disk overhead at about the same ratio (by default 10%), it will cut down I/O by a lot in above scenario.