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 5 commits
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`

- Checks the validity of the configuration file and exits
- Default: false

## `--config-strict`

- Enforces the validity of the configuration file
- 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`

- The duration of the schema lease. It is **dangerous** to change the value unless you know what you do.
- Default: 45s

## `--log-file`

- The log file
Expand Down