Add units to the numeric options in the configuration file #17847
Labels
component/config
feature/accepted
This feature request is accepted by product managers
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
type/feature-request
Categorizes issue or PR as related to a new feature.
type/usability
Feature Request
Is your feature request related to a problem? Please describe:
Most of the numeric configs lack unit. It is easy to confuse users. For example,
tidb/config/config.toml.example
Line 243 in b053275
104857600
should be104857600B
and10737418240
should be10737418240B
or10G
.Here is another example causing problems: #17434.
#17434 (comment)
Describe the feature you'd like:
Describe alternatives you've considered:
Both of these solutions are not easy to use enough.
Teachability, Documentation, Adoption, Migration Strategy:
Change how the configuration file is parsed.
The text was updated successfully, but these errors were encountered: