Skip to content

Commit a565357

Browse files
tangwzTomShawn
andauthored
update the tidb configuration documents. (pingcap#4056)
* update the tidb configuration documents. * Apply suggestions from code review * Update command-line-flags-for-tidb-configuration.md * Update command-line-flags-for-tidb-configuration.md * Apply suggestions from code review Co-authored-by: TomShawn <[email protected]>
1 parent 6055aa1 commit a565357

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

Diff for: command-line-flags-for-tidb-configuration.md

+15
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,16 @@ When you start the TiDB cluster, you can use command-line options or environment
2626
- Default: ""
2727
- 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).
2828

29+
## `--config-check`
30+
31+
- Checks the validity of the configuration file and exits
32+
- Default: false
33+
34+
## `--config-strict`
35+
36+
- Enforces the validity of the configuration file
37+
- Default: false
38+
2939
## `--cors`
3040

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

62+
## `--lease`
63+
64+
- The duration of the schema lease. It is **dangerous** to change the value unless you know what you do.
65+
- Default: 45s
66+
5267
## `--log-file`
5368

5469
- The log file

0 commit comments

Comments
 (0)