Skip to content

Commit

Permalink
PD: Add the name field to the startup parameters (pingcap#18638)
Browse files Browse the repository at this point in the history
  • Loading branch information
qiancai authored Aug 22, 2024
1 parent 20f9dd1 commit 31f8e86
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions command-line-flags-for-scheduling-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ The Scheduling node is used for providing the `scheduling` microservice for PD.
- Default: `""`
- If this flag is not set, logs are output to "stderr". If this flag is set, logs are output to the corresponding file.

## `--name` <span class="version-mark">New in v8.3.0</span>

+ The name of the current Scheduling node.
+ Default: `"scheduling-${hostname}"`
+ If you need to start multiple Scheduling nodes, it is recommended to configure different names for different nodes for easier identification.

## `-L`

- The log level.
Expand Down
6 changes: 6 additions & 0 deletions command-line-flags-for-tso-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ The TSO node is used for providing the `tso` microservice for PD. You can config
- Default: `""`
- If this flag is not set, logs are output to "stderr". If this flag is set, logs are output to the corresponding file.

## `--name` <span class="version-mark">New in v8.3.0</span>

+ The name of the current TSO node.
+ Default: `"tso-${hostname}"`
+ If you need to start multiple TSO nodes, it is recommended to configure different names for different nodes for easier identification.

## `-L`

- The log level.
Expand Down

0 comments on commit 31f8e86

Please sign in to comment.