刘珍 created IOTDB-3583: ------------------------- Summary: [ ConfigNode ] Failed to connect to ConfigNode leader Key: IOTDB-3583 URL: https://issues.apache.org/jira/browse/IOTDB-3583 Project: Apache IoTDB Issue Type: Bug Components: mpp-cluster Affects Versions: 0.14.0-SNAPSHOT Reporter: 刘珍 Assignee: Yongzao Dan Attachments: config.properties
https://github.com/apache/iotdb/pull/6325 请求较多时无法转发给 ConfigNode leader,导致请求失败。 日志 2022-06-21 13:57:29,135 [main] WARN o.a.i.d.c.ConfigNodeClient:234 - Failed to connect to ConfigNode TEndPoint(ip:192.168.10.68, port:22277) from DataNode TEndPoint(ip:192.168.10.66, port:6667),{color:red}*because the current node is not leader,try next node*{color} 2022-06-21 13:57:29,137 [main] WARN o.a.i.d.c.ConfigNodeClient:234 - Failed to connect to ConfigNode TEndPoint(ip:192.168.10.68, port:22277) from DataNode TEndPoint(ip:192.168.10.66, port:6667),because the current node is not leader,try next node 2022-06-21 14:02:43,765 [pool-23-IoTDB-RPC-Client-1] WARN o.a.i.d.c.ConfigNodeClient:234 - Failed to connect to ConfigNode TEndPoint(ip:192.168.10.68, port:22277) from DataNode TEndPoint(ip:192.168.10.66, port:6667),because the current node is not leader,try next node 2022-06-21 14:02:43,766 [pool-23-IoTDB-RPC-Client-1] WARN o.a.i.d.c.ConfigNodeClient:234 - Failed to connect to ConfigNode TEndPoint(ip:192.168.10.66, port:22277) from DataNode TEndPoint(ip:192.168.10.66, port:6667),because the current node is not leader,try next node 2022-06-21 14:02:44,028 [20220621_060244_00000_4-69] WARN o.a.i.d.c.ConfigNodeClient:234 - Failed to connect to ConfigNode TEndPoint(ip:192.168.10.68, port:22277) from DataNode TEndPoint(ip:192.168.10.66, port:6667),because the current node is not leader,try next node 2022-06-21 14:02:44,028 [20220621_060244_00000_4-69] WARN o.a.i.d.c.ConfigNodeClient:234 - Failed to connect to ConfigNode TEndPoint(ip:192.168.10.66, port:22277) from DataNode TEndPoint(ip:192.168.10.66, port:6667),because the current node is not leader,try next node ~ 复现步骤 1. 192.168.10.62/66/68 72C256G data_region_consensus_protocol_class=org.apache.iotdb.consensus.standalone.StandAloneConsensus schema_region_consensus_protocol_class=org.apache.iotdb.consensus.standalone.StandAloneConsensus schema_replication_factor=1 data_replication_factor=1 2. 100用户并发创建元数据 配置文件见附件。 DEVICE_NUMBER=100000 SENSOR_NUMBER=6 CLIENT_NUMBER=100 GROUP_NUMBER=1 ip68 bm路径:/data/benchmark/weekly_shell/bm_0527_e7b23aa -- This message was sent by Atlassian Jira (v8.20.7#820007)