doris-3.0.3-rc04 删除BE节点遇到问题

Viewed 19

使用DROPP可以正常删除节点,但是这会丢失数据。
因此,根据官方的建议,采用DECOMMISSION下线节点。但是下线时遇到问题,执行DECOMMISSION返回如下错误:

ERROR 1105 (HY000): errCode = 2, detailMessage = After decommission, partition column_statistics of table __internal_schema.column_statistics 's replication allocation { tag.location.default: 3 } > available backend num 1 on tag {"location" : "default"}, otherwise need to decrease the partition's replication num.
1 Answers

首先下线节点需要保证BE的数量要大于或者等于存量表的副本数才行,比如存量表是3副本,BE也是3台,那么就不能下线成功。需要先将表的副本数量改为小于或等于存量BE节点数才行。