Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update the tidb configuration documents. #4056

Merged
merged 6 commits into from
Oct 28, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions command-line-flags-for-tidb-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,16 @@ When you start the TiDB cluster, you can use command-line options or environment
- Default: ""
- If you have specified the configuration file, TiDB reads the configuration file. If the corresponding configuration also exists in the command line options, TiDB uses the configuration in the command line options to overwrite that in the configuration file. For detailed configuration information, see [TiDB Configuration File Description](/tidb-configuration-file.md).

## `--config-check`

- check config file validity and exit
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
- Default: false

## `--config-strict`

- enforce config file validity
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
- Default: false

## `--cors`

- Specifies the `Access-Control-Allow-Origin` value for Cross-Origin Request Sharing (CORS) request of the TiDB HTTP status service
Expand All @@ -49,6 +59,11 @@ When you start the TiDB cluster, you can use command-line options or environment
- Default: "info"
- You can choose from "debug", "info", "warn", "error", or "fatal".

## `--lease`

- schema lease duration, very dangerous to change only if you know what you do
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
- Default: "45s"
TomShawn marked this conversation as resolved.
Show resolved Hide resolved

## `--log-file`

- The log file
Expand Down