Skip to content
Merged
Changes from all 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
4 changes: 4 additions & 0 deletions pd-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,10 @@ Usage:

### `member [delete | leader_priority | leader [show | resign | transfer <member_name>]]`

> **Note:**
>
> **DO NOT** use the `member delete` command to remove PD nodes in a production environment. To remove a PD node, see [Scale in a TiDB/PD/TiKV cluster](/scale-tidb-using-tiup.md#scale-in-a-tidbpdtikv-cluster) and [Manually Scale TiDB on Kubernetes](https://docs.pingcap.com/tidb-in-kubernetes/stable/scale-a-tidb-cluster/).
Comment on lines +444 to +446
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

low

To improve the clarity and flow of this note, I suggest the following changes:

  • Use sentence case (Do not instead of **DO NOT**) for a more standard warning tone.
  • Connect the two sentences with Instead to improve the logical flow.
  • Use or instead of and because the linked documents describe alternative methods for different environments (TiUP vs. Kubernetes).
  • Use refer to instead of see for a slightly more formal tone.1

Style Guide References

Suggested change
> **Note:**
>
> **DO NOT** use the `member delete` command to remove PD nodes in a production environment. To remove a PD node, see [Scale in a TiDB/PD/TiKV cluster](/scale-tidb-using-tiup.md#scale-in-a-tidbpdtikv-cluster) and [Manually Scale TiDB on Kubernetes](https://docs.pingcap.com/tidb-in-kubernetes/stable/scale-a-tidb-cluster/).
> **Note:**
>
> Do not use the `member delete` command to remove PD nodes in a production environment. Instead, to remove a PD node, refer to [Scale in a TiDB/PD/TiKV cluster](/scale-tidb-using-tiup.md#scale-in-a-tidbpdtikv-cluster) or [Manually Scale TiDB on Kubernetes](https://docs.pingcap.com/tidb-in-kubernetes/stable/scale-a-tidb-cluster/).

Footnotes

  1. The documentation should prioritize clarity, simplicity, completeness, and readability. (link)


Use this command to view the PD members, remove a specified member, or configure the priority of leader.

Usage:
Expand Down