prometheus/tsdb/tsdbutil
Kyle Eckhart ae062151cd
tsdb/wlog: Remove any temproary checkpoints when creating a Checkpoint (#17598)
* RemoveTmpDirs function to tsdbutil
* Refactor db to use RemoveTmpDirs and no longer cleanup checkpoint tmp dirs
* Use RemoveTmpDirs in wlog checkpoint to cleanup all checkpoint tmp folders
* Add tests for RemoveTmpDirs
* Ensure db.Open will still cleanup extra temporary checkpoints

Signed-off-by: Kyle Eckhart <kgeckhart@users.noreply.github.com>
2026-02-17 09:23:54 +01:00
..
dir_locker.go Refactor various tsdb sub-packages (#17847) 2026-01-13 13:38:58 +00:00
dir_locker_test.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
dir_locker_testutil.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
histogram.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
remove_tmp_dirs.go tsdb/wlog: Remove any temproary checkpoints when creating a Checkpoint (#17598) 2026-02-17 09:23:54 +01:00
remove_tmp_dirs_test.go tsdb/wlog: Remove any temproary checkpoints when creating a Checkpoint (#17598) 2026-02-17 09:23:54 +01:00