RocksDB: Enable blob garbage collection to reclaim disk space from deleted blobs

This commit is contained in:
Maurus Decimus
2026-06-16 22:06:28 +02:00
parent 3f2c5632b8
commit 69c2b052de
2 changed files with 4 additions and 1 deletions

View File

@@ -12,6 +12,7 @@ If you are upgrading from v0.16.x, replace the binary (or run `docker pull`). If
## Fixed
- OIDC: Add default domain name to groups that are not email addresses.
- RocksDB: Enable blob garbage collection to reclaim disk space from deleted blobs.
## [0.16.9] - 2026-06-15

View File

@@ -39,6 +39,9 @@ impl RocksDbStore {
let mut cf_opts = Options::default();
cf_opts.set_enable_blob_files(true);
cf_opts.set_min_blob_size(config.blob_size);
cf_opts.set_enable_blob_gc(true);
cf_opts.set_blob_gc_age_cutoff(1.0);
cf_opts.set_blob_gc_force_threshold(0.5);
cfs.push(ColumnFamilyDescriptor::new(CF_BLOBS, cf_opts));
// Other cfs
@@ -56,7 +59,6 @@ impl RocksDbStore {
SUBSPACE_REPORT_OUT,
SUBSPACE_REPORT_IN,
SUBSPACE_LOGS,
SUBSPACE_BLOBS,
SUBSPACE_TELEMETRY_SPAN,
SUBSPACE_TELEMETRY_METRIC,
SUBSPACE_SEARCH_INDEX,