Jialin Qiao created IOTDB-4044:
----------------------------------
Summary: Remove a DataNode from the cluster
Key: IOTDB-4044
URL: https://issues.apache.org/jira/browse/IOTDB-4044
Project: Apache IoTDB
Issue Type: New Feature
Reporter: Jialin Qiao
Assignee: Gaofei Cao
Currently, we support remove a lived datanode. However, this command is
executed on this datanode.
To extend this function, when a DataNode is down, we need to remove it from the
confignode, which contains the following steps:
Suppose this DataNode has 3 regions.
DBA issues a remove datanode command with datanode Id to ConfigNode.
For each region group of these 3 regions
(1) copy the data from another lived DataNode to a new datanode, and update the
partition info.
(2) Remove this peer from its region group (may need transfer leader if it is
leader and alive)
At last, try to shutdown the datanode.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)