Do full metadata GC on start (new store)

This commit is contained in:
Vitaliy Filippov
2026-04-03 18:08:12 +00:00
parent ff7f5cb4f4
commit 9b264a212f
5 changed files with 92 additions and 35 deletions
+2
View File
@@ -57,6 +57,8 @@ struct blockstore_disk_t
bool inmemory_journal = true;
// Data discard granularity and minimum size (for the sake of performance)
bool discard_on_start = false;
// GC on start (new store)
bool gc_on_start = true;
uint64_t min_discard_size = 1024*1024;
uint64_t discard_granularity = 0;