RocksDB: Enable blob garbage collection to reclaim disk space from deleted blobs
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user