Updated on 2023-12-13 GMT+08:00

Deleting Replica Set Instance Nodes

You can delete nodes that are no longer used to release resources.

Only whitelisted users can use this function. You need to submit a service ticket to apply for this function. In the upper right corner of the management console, choose Service Tickets > Create Service Ticket to submit a service ticket.

Precautions

  • Deleted nodes cannot be recovered. Exercise caution when performing this operation.
  • If you enable operation protection, two-factor authentication is required for sensitive operations to secure your account and cloud products. For details about how to enable operation protection, see Identity and Access Management User Guide.
  • Nodes cannot be deleted from instances that have abnormal nodes.

Procedure

  1. Log in to the console.
  2. In the service list, choose Databases > Document Database Service.
  3. On the Instances page, locate a target DB instance and click its name.
  4. In the Node Information area on the Basic Information page, click Change Secondary Nodes.

    Figure 1 Node information

  5. Specify Total Nodes and click Next.

    Figure 2 Selecting the number of nodes

    When you delete nodes, the number of selected nodes should be less than the number of current nodes. For example, if the number of current instance nodes is 5, select 3 when deleting nodes.

  6. Click Submit.
  7. If you have enabled operation protection, click Start Verification in the Delete Node dialog box. On the displayed page, click Send Code, enter the verification code, and click Verify. The page is closed automatically.