Skip to content
This repository was archived by the owner on Mar 1, 2026. It is now read-only.
This repository was archived by the owner on Mar 1, 2026. It is now read-only.

Refactor rdb_i_s_cfoptions_fill_table #876

Description

@yoshinorim

It has been a while since we last updated rdb_i_s_cfoptions_fill_table function. As a result, information_schema.ROCKSDB_CF_OPTIONS table returns limited number of CF options, while we can dynamically update CF options that don't exist in the i_s table. This is confusing. For example, you can change max_compaction_bytes dynamically, but the only way to confirm the change is reading LOG file.

SET @@global.rocksdb_update_cf_options = 'default={max_compaction_bytes=4026531840};';

SELECT * FROM ROCKSDB_CF_OPTIONS WHERE CF_NAME='default' AND OPTION_TYPE='max_compaction_bytes';
-> empty set

LOG shows max_compaction_bytes changed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions