Skip to content

doc: outdated default value for level_compaction_dynamic_level_bytes in JavaDoc #14916

Description

@skloibi

Hi,

there seems to be a mismatch in the documented default value for level_compaction_dynamic_level_bytes:

Description in JavaDoc:

* <p>Default: false</p>
*
* @param enableLevelCompactionDynamicLevelBytes boolean value indicating
* if {@code LevelCompactionDynamicLevelBytes} shall be enabled.
* @return the reference to the current options.
*/
@Experimental("Turning this feature on or off for an existing DB can cause" +
" unexpected LSM tree structure so it's not recommended")
T setLevelCompactionDynamicLevelBytes(
boolean enableLevelCompactionDynamicLevelBytes);

vs. actual default value/description in advanced_options.h:

// Default: true
bool level_compaction_dynamic_level_bytes = true;

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