Tendis icon indicating copy to clipboard operation
Tendis copied to clipboard

动态设置rocksdb的cf参数,默认只对default_cf生效,需要改为对binlog_cf也生效。

Open takenliu opened this issue 2 months ago • 0 comments

Description

问题

针对rocksdb的columnfamily的参数,在配置文件中配置"rocks.xxx y",当前是对default_cf和binlog_cf同时生效。 通过"config set rocks.xxx y",目前只对default_cf生效,需要改为对binlog_cf也生效。

希望达到的效果:

以rocks.enable_blob_files为例。 配置文件: rocks.enable_blob_files 1 (default_cf和binlog_cf都生效) rocks.defaultcf.enable_blob_files 1 (default_cf生效)(当前版本处理不对) rocks.binlogcf.enable_blob_files 1 (binlog_cf生效)

动态修改: config set rocks.enable_blob_files 1 (default_cf和binlog_cf都生效)(当前版本处理不对) config set rocks.defaultcf.enable_blob_files 1 (default_cf生效)(当前版本处理不对) config set rocks.binlogcf.enable_blob_files 1 (binlog_cf生效)

Expected Behavior

Current Behavior

Possible Solution

Steps to Reproduce (for bugs)

Context

Your Environment

  • Operating System and version:
  • Machine Specifications:
  • Tendis Version:
  • Tendis Configuration:
  • IO/Network used:
  • Link to your project:

takenliu avatar Oct 31 '25 09:10 takenliu