From daf4b564350959abcdd528dcd26d5dd0fc8402be Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Fri, 26 Apr 2024 05:48:17 -0700 Subject: [PATCH] fix inherited sequential small options Signed-off-by: Jason Volk --- src/database/rocksdb/opts.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/database/rocksdb/opts.rs b/src/database/rocksdb/opts.rs index 4a1301ae..6d230899 100644 --- a/src/database/rocksdb/opts.rs +++ b/src/database/rocksdb/opts.rs @@ -222,7 +222,7 @@ fn set_for_random_small(opts: &mut Options, config: &Config) { } fn set_for_sequential_small(opts: &mut Options, config: &Config) { - set_for_random(opts, config); + set_for_sequential(opts, config); opts.set_write_buffer_size(1024 * 512); opts.set_target_file_size_base(1024 * 512);