* feat: Logging and fsync delay for retention deletion (#27114)
This area of the code is where we "hang" during retention policy deletion. It only occurs in very high cardinality dbs ~10 million+. DeleteSeriesID holds a mutex lock and does a fsync call. Running this millions of times + contention + disk I/O between various other writers/readers this could potentially go on for days.
This PR batches sync operations instead of running a sync during every series deletion op. It also adds additional logging to retention series deletion.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| extract-meta | ||
| influxd | ||
| telemetryd | ||