Skip to main content
Skip to main content

CANCEL-ALTER-SYSTEM

CANCEL-ALTER-SYSTEM​

Name​

CANCEL DECOMMISSION

Description​

This statement is used to undo a node offline operation. (Administrator only!)

grammar:

  • Find backend through host and port
CANCEL DECOMMISSION BACKEND "host:heartbeat_port"[,"host:heartbeat_port"...];
  • Find backend through backend_id
CANCEL DECOMMISSION BACKEND "id1","id2","id3...";

Example​

  1. Cancel the offline operation of both nodes:

    CANCEL DECOMMISSION BACKEND "host1:port", "host2:port";
  2. Cancel the offline operation of the node with backend_id 1:

        CANCEL DECOMMISSION BACKEND "1","2";

Keywords​

CANCEL, DECOMMISSION, CANCEL ALTER

Best Practice​