Skip to content

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

@takenliu

Description

@takenliu

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions