[
https://issues.apache.org/jira/browse/IOTDB-3899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17568904#comment-17568904
]
QiangShaowei commented on IOTDB-3899:
-------------------------------------
the reason is status not set FAILED before it return in addPeer() method
!image-2022-07-20-15-49-24-299.png!
!image-2022-07-20-15-50-11-160.png!
> Remove 1 datanode,add peer failed,but continue to shrink(remove peer , remove
> region,delete region)
> ---------------------------------------------------------------------------------------------------
>
> Key: IOTDB-3899
> URL: https://issues.apache.org/jira/browse/IOTDB-3899
> Project: Apache IoTDB
> Issue Type: Bug
> Components: mpp-cluster
> Affects Versions: 0.14.0-SNAPSHOT
> Reporter: 刘珍
> Assignee: QiangShaowei
> Priority: Major
> Attachments: image-2022-07-20-14-11-54-994.png,
> image-2022-07-20-15-49-24-299.png, image-2022-07-20-15-50-11-160.png
>
>
> RatisConsensus,
> 3副本3C7D,缩容1个节点,缩容节点的 datanode报错:
> 2022-07-20 11:32:04,775 [pool-16-IoTDB-Region-Migrate-Pool-1] ERROR
> o.a.i.d.s.RegionMigrateService$RegionMigrateTask:349 - add new peer
> TEndPoint(ip:172.20.70.4, port:40010) for region DataRegion[1] failed
> 但是缩容操作却继续执行(dataregion 1 remove 成功),下面是debug日志:
> !image-2022-07-20-14-11-54-994.png!
> 测试流程同
> https://issues.apache.org/jira/browse/IOTDB-3896
--
This message was sent by Atlassian Jira
(v8.20.10#820010)