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
Status Code
For more information, see Status Code.
Error Code
For more information, see Error Code.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.