How to Confirm the Newly Expanded PD is in Normal State

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: 如何确认扩容的pd处于正常状态

| username: xingzhenxiang

[TiDB Usage Environment] Production Environment / Testing / PoC
[TiDB Version]
[Reproduction Path] What operations were performed when the issue occurred
[Encountered Issue: Issue Phenomenon and Impact]
[Resource Configuration]
[Attachments: Screenshots / Logs / Monitoring]

Currently, there are 3 PD nodes. I have expanded by adding 2 more PD nodes, making it 5 PD nodes now. How can I confirm that the new PD nodes are functioning properly? I noticed that the data directory sizes of the new and old PD nodes are inconsistent, with the historical ones being 399M and the new ones only 137M.

| username: WalterWj | Original post link

What is the relationship between expanding TiDB nodes and PD nodes…

| username: WalterWj | Original post link

You can use pd-ctl to check PD information by typing member.

| username: liuis | Original post link

“3 PD nodes, I also added 2 more TiDB nodes at the same time, now there are already 5 PD nodes” :joy:

| username: xingzhenxiang | Original post link

This is the relevant information. How can we determine that it has fully synchronized?

| username: xingzhenxiang | Original post link

Expand two PD nodes simultaneously.

| username: xingzhenxiang | Original post link

Sorry, I made a mistake. I meant to say expanding two PD nodes at the same time. I have already corrected it.

| username: xingzhenxiang | Original post link

Is it related to this?

| username: xingzhenxiang | Original post link

Bump. I hope someone knowledgeable can provide the observation metrics.

| username: WalterWj | Original post link

If the member is visible, the process is alive, and there are no ERROR logs, there should be no problem. If you’re still concerned, you can manually use member transfer to switch the PD leader and see if everything is functioning normally.

| username: tidb菜鸟一只 | Original post link

Once the expansion is successful, it will be in a normal state.

| username: Kongdom | Original post link

It’s normal for the physical file sizes of PD nodes to be different, as long as they appear normal in tiup display. These are not TiKV data files that need to ensure data balance.

| username: xingzhenxiang | Original post link

Thank you, everyone.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.