influxdb/toml
Geoffrey Wossum 7bd3f89d18
fix: prevent retention service creating orphaned shard files (#24530)
* fix: prevent retention service creating orphaned shard files

Under certain circumstances, the retention service can fail to delete shards from
the store in a timely manner. When the shard groups are pruned based on age, this
leaves orphaned shard files on the disk. The retention service will then not attempt
to remove the obsolete shard files because the meta store does not know about them.
This can cause excessive disk space usage for some users.

This corrects that by requiring shards files be deleted before they can be removed
from the meta store.

fixes: #24529
2024-01-04 11:59:28 -06:00
..
toml.go fix: prevent retention service creating orphaned shard files (#24530) 2024-01-04 11:59:28 -06:00
toml_test.go Fix ApplyEnvOverrides when a type that implements Unmarshaler is in a slice 2018-11-18 10:49:04 -06:00