Forcibly Promoting a Secondary Node to Primary
API Description
This API is used to promote a secondary node of a replica set, shard node, or config node to primary.
Restrictions
If the primary to secondary synchronization delay is long, this operation may fail.
URI
Request Parameters
|
Parameter |
Type |
IN |
Mandatory |
Description |
|---|---|---|---|---|
|
X-Auth-Token |
string |
header |
Yes |
User token |
Status Code
For details, see Status Code.
Error Code
For details, see Error Code.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot