Help Center/
Document Database Service/
API Reference (Paris Region)/
API Description/
DB Instance Management/
Performing a Primary/Secondary Switchover in a Replica Set Instance
Updated on 2022-02-22 GMT+08:00
Performing a Primary/Secondary Switchover in a Replica Set Instance
Function
This API is used to perform a primary/secondary switchover in a replica set instance.
Constraints
- This API supports only DDS replica sets.
- This API can freeze instances except abnormal instances.
URI
Requests
Responses
- Parameter description
Table 2 Parameter description Name
Type
Description
job_id
String
Indicates the task ID.
- Response example
{ "job_id": "3711e2ad-5787-49bc-a47f-3f0b066af9f5" }
Status Code
For more information, see Status Code.
Error Code
For more information, see Error Code.
Parent topic: DB Instance Management
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.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot