Skip to content

Support using dash('-') in config item names #820

@qw4990

Description

@qw4990

Feature Request

Is your feature request related to a problem? Please describe:

After this issue(#768), the parser supports set config name=value syntax, but the name doesn't support using -.
We should support it since there are some config items like label-property.reject-leader, auto-compaction which use - in their names.

Describe the feature you'd like:

Support using dash(-) in config item names, for examples:

  1. set config pd auto-compation=true
  2. set config pd property.reject-leader.key='zone'

Describe alternatives you've considered:

Teachability, Documentation, Adoption, Migration Strategy:

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