influxdb/cmd
WeblWabl 5bebb3e3e4
feat: Logging and fsync delay for retention deletion (#27114) (#27225)
* 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 c836ac271b)
2026-02-18 13:58:48 -06:00
..
extract-meta feat: extract meta.db from 2.x Bolt file (#27031) 2025-12-22 12:13:21 -08:00
influxd feat: Logging and fsync delay for retention deletion (#27114) (#27225) 2026-02-18 13:58:48 -06:00
telemetryd refactor: remove panics from CLI kit code and influxd CLI setup (#20863) 2021-03-04 17:18:21 -05:00