You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kvrocks.apache.org by hu...@apache.org on 2022/07/06 01:57:06 UTC

[incubator-kvrocks] branch unstable updated: Remove the deprecated config `auto-resize-block-and-sst` in kvrocks.conf (#716)

This is an automated email from the ASF dual-hosted git repository.

hulk pushed a commit to branch unstable
in repository https://gitbox.apache.org/repos/asf/incubator-kvrocks.git


The following commit(s) were added to refs/heads/unstable by this push:
     new c094ea4  Remove the deprecated config `auto-resize-block-and-sst` in kvrocks.conf (#716)
c094ea4 is described below

commit c094ea46ae500169dcc3e9b3b28ee6c47ea098bc
Author: AvivPl <10...@users.noreply.github.com>
AuthorDate: Wed Jul 6 04:57:02 2022 +0300

    Remove the deprecated config `auto-resize-block-and-sst` in kvrocks.conf (#716)
---
 kvrocks.conf | 17 ++---------------
 1 file changed, 2 insertions(+), 15 deletions(-)

diff --git a/kvrocks.conf b/kvrocks.conf
index 56fb8ba..f14077d 100644
--- a/kvrocks.conf
+++ b/kvrocks.conf
@@ -301,8 +301,8 @@ supervised no
 # Default: empty
 # profiling-sample-commands ""
 
-# Ratio of the samples would be recorded. We simply use the rand to determine
-# whether to record the sample or not.
+# Ratio of the samples would be recorded. It is a number between 0 and 100.
+# We simply use the rand to determine whether to record the sample or not.
 #
 # Default: 0
 profiling-sample-ratio 0
@@ -352,19 +352,6 @@ compaction-checker-range 0-7
 #
 # rename-command KEYS ""
 
-# The key-value size may so be quite different in many scenes, and use 256MiB as SST file size
-# may cause data loading(large index/filter block) ineffective when the key-value was too small.
-# kvrocks supports user-defined SST file in config(rocksdb.target_file_size_base),
-# but it's still too trivial and inconvenient to adjust the different sizes for different instances.
-# so we want to periodically auto-adjust the SST size in-flight with the user avg key-value size.
-#
-# If enabled, kvrocks will auto resize rocksdb.target_file_size_base
-# and rocksdb.write_buffer_size in-flight with user avg key-value size.
-# Please see #118.
-#
-# Default: yes
-auto-resize-block-and-sst yes
-
 ################################ MIGRATE #####################################
 # If the network bandwidth is completely consumed by the migration task,
 # it will affect the availability of kvrocks. To avoid this situation,