Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: pd server leader 可以直接reload切换到其他服务器吗

I want to switch the leader to another server through the reload method. Is this feasible?
Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: pd server leader 可以直接reload切换到其他服务器吗
I want to switch the leader to another server through the reload method. Is this feasible?
Reloading may not necessarily switch the PD leader. It is not recommended to perform this operation during peak business hours.
The business write has stopped, how to switch the leader?
You can try reloading first, and if it doesn’t switch automatically, then try manually switching the leader.
Okay, I just don’t want to use pdctl. I’ll try reloading first. Thanks for the reply.
If you don’t want to use pdctl and the business has stopped, you can try shutting down the current PD leader directly, which should also trigger an automatic switch.
Yes, you can specify the node to shut down using the -N parameter.
The switch has already been implemented using the reload method, thank you everyone.