[ 
https://issues.apache.org/jira/browse/IOTDB-3452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17552627#comment-17552627
 ] 

QiangShaowei commented on IOTDB-3452:
-------------------------------------

最后卡主的region(DataReion[2])相关日志:
首先在128上添加ratf group,日志显示添加成功。
128节点日志:
2022-06-10 {color:red}15:38:24,528 
{color}[pool-1-IoTDB-InternalServiceRPC-Client-7] INFO  
o.a.i.d.s.t.i.InternalServiceImpl:398 - {color:red}start to add peers 
[Peer{groupId=DataRegion[2], endpoint=TEndPoint(ip:192.168.42.91, port:40010)}, 
Peer{groupId=DataRegion[2], endpoint=TEndPoint(ip:192.168.42.74, port:40010)}, 
Peer{groupId=DataRegion[2], endpoint=TEndPoint(ip:192.168.42.128, port:40010)}] 
to peers DataRegion[2] consensus group {color}
......
2022-06-10 {color:red}15:38:24,553{color} 
[pool-1-IoTDB-InternalServiceRPC-Client-7] INFO  
o.a.i.d.s.t.i.InternalServiceImpl:411 - {color:red}succeed to add peers 
[Peer{groupId=DataRegion[2], endpoint=TEndPoint(ip:192.168.42.91, port:40010)}, 
Peer{groupId=DataRegion[2], endpoint=TEndPoint(ip:192.168.42.74, port:40010)}, 
Peer{groupId=DataRegion[2], endpoint=TEndPoint(ip:192.168.42.128, port:40010)}] 
to region DataRegion[2] consensus group {color}

接着在91上 执行,addPeer-->removePeer-->removeConsensusGroup.  
在addPeer成功后,{color:red}开始removePeer时,就走不下去了{color}。
2022-06-10 15:38:24,514 [pool-1-IoTDB-InternalServiceRPC-Client-9] INFO 
o.a.i.d.s.t.i.InternalServiceImpl:506 - succeed to remove node 
TEndPoint(ip:192.168.42.91, port:40010) from the region consensus group: 
DataRegion[8]
2022-06-10 15:38:24,514 [pool-1-IoTDB-InternalServiceRPC-Client-9] INFO 
o.a.i.d.s.t.i.InternalServiceImpl:511 - finished to migrate a region: 
DataRegion[8], from TEndPoint(ip:192.168.42.91, port:40010) to 
TEndPoint(ip:192.168.42.128, port:40010)
2022-06-10 15:38:24,524 [pool-1-IoTDB-InternalServiceRPC-Client-9] INFO 
o.a.i.d.s.t.i.InternalServiceImpl:382 - change region DataRegion[2] leader 
succeed
2022-06-10 15:38:24,554 [pool-1-IoTDB-InternalServiceRPC-Client-9] INFO 
o.a.i.d.s.t.i.InternalServiceImpl:467 - start to migrate a region: 
DataRegion[2], from TEndPoint(ip:192.168.42.91, port:40010) to 
TEndPoint(ip:192.168.42.128, port:40010)
{color:red}2022-06-10 15:38:24,554 [pool-1-IoTDB-InternalServiceRPC-Client-9] 
INFO o.a.i.d.s.t.i.InternalServiceImpl:471 - start to add new peer 
TEndPoint(ip:192.168.42.128, port:40010) for the region: DataRegion[2]{color}
2022-06-10 15:38:24,589 [192.168.42.91-40010-server-thread1] INFO 
o.a.r.s.impl.ServerState:393 - 192.168.42.91-40010@group-000100000002: set 
configuration 5: 
[192.168.42.74-40010|rpc:192.168.42.74:40010|admin:|client:|dataStream:|priority:0,
 
192.168.42.91-40010|rpc:192.168.42.91:40010|admin:|client:|dataStream:|priority:0,
 
192.168.42.128-40010|rpc:192.168.42.128:40010|admin:|client:|dataStream:|priority:0],
 
old=[192.168.42.74-40010|rpc:192.168.42.74:40010|admin:|client:|dataStream:|priority:0,
 
192.168.42.91-40010|rpc:192.168.42.91:40010|admin:|client:|dataStream:|priority:0]
2022-06-10 15:38:24,594 [192.168.42.91-40010-server-thread1] INFO 
o.a.r.s.impl.ServerState:393 - 192.168.42.91-40010@group-000100000002: set 
configuration 7: 
[192.168.42.74-40010|rpc:192.168.42.74:40010|admin:|client:|dataStream:|priority:0,
 
192.168.42.91-40010|rpc:192.168.42.91:40010|admin:|client:|dataStream:|priority:0,
 
192.168.42.128-40010|rpc:192.168.42.128:40010|admin:|client:|dataStream:|priority:0],
 old=null
{color:red}2022-06-10 15:38:24,600 [pool-1-IoTDB-InternalServiceRPC-Client-9] 
INFO o.a.i.d.s.t.i.InternalServiceImpl:484 - succeed to add new peer 
TEndPoint(ip:192.168.42.128, port:40010) for the region: DataRegion[2]
2022-06-10 15:38:24,601 [pool-1-IoTDB-InternalServiceRPC-Client-9] INFO 
o.a.i.d.s.t.i.InternalServiceImpl:486 - start to remove old peer 
TEndPoint(ip:192.168.42.91, port:40010) for the region: DataRegion[2]{color}


> DataNode缩容过程中,Region迁移时,ratis server退出
> --------------------------------------
>
>                 Key: IOTDB-3452
>                 URL: https://issues.apache.org/jira/browse/IOTDB-3452
>             Project: Apache IoTDB
>          Issue Type: Test
>            Reporter: QiangShaowei
>            Assignee: Song Ziyang
>            Priority: Major
>         Attachments: 128_log_all.rar, 74_log_all.rar, 91_log_all.rar, 
> confignode_log_all.rar
>
>




--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to