From fb5f69b9ad505914543286d2133bb0adfbb342eb Mon Sep 17 00:00:00 2001 From: Manuel Holtgrewe Date: Tue, 16 May 2023 11:29:54 +0200 Subject: [PATCH] enable compaction --- src/common/rocks_utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/rocks_utils.rs b/src/common/rocks_utils.rs index 901212d6..8afe608d 100644 --- a/src/common/rocks_utils.rs +++ b/src/common/rocks_utils.rs @@ -57,7 +57,7 @@ pub fn tune_options(options: rocksdb::Options, wal_dir: Option<&str>) -> rocksdb options.set_bottommost_compression_type(rocksdb::DBCompressionType::Zstd); options.set_bottommost_zstd_max_train_bytes(1 << 22, true); - options.set_disable_auto_compactions(true); + // options.set_disable_auto_compactions(true); options.optimize_for_point_lookup(1 << 26); options