You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "刘珍 (Jira)" <ji...@apache.org> on 2022/11/23 02:28:00 UTC

[jira] [Created] (IOTDB-5027) [ confignode ] The RegionRouteMap doesn't update after the leader Node is Unknown

刘珍 created IOTDB-5027:
-------------------------

             Summary: [ confignode ] The RegionRouteMap doesn't update after the leader Node is Unknown
                 Key: IOTDB-5027
                 URL: https://issues.apache.org/jira/browse/IOTDB-5027
             Project: Apache IoTDB
          Issue Type: Bug
          Components: mpp-cluster
    Affects Versions: 0.14.0-SNAPSHOT
            Reporter: 刘珍
            Assignee: Yongzao Dan
         Attachments: image-2022-11-23-10-26-35-175.png, log_confignode_all.log

m_1111_600e376
1. 启动3副本3C3D集群,BM 写入查询 7*24小时
2. 验证各节点数据是否一致:只保留1节点在线,查询,查询报错,
报错是因为当前的查询路由策略是Leader优先级最高,但是show regions中Leader 有Unknown。
存在2个问题:
~ RegionRouteMap没更新。
~ 如果Leader 是Unknown,应该路由给Running的follower。
查询报错信息:
2022-11-23 10:03:07,158 [pool-80-IoTDB-ClientRPC-Processor-5] ERROR o.a.i.d.u.ErrorHandlingUtils:90 - Status code: 310, Query Statement: fetchResults failed
org.apache.iotdb.commons.exception.IoTDBException: can't connect to node {}TEndPoint(ip:192.168.10.76, port:9003)
        at org.apache.iotdb.db.mpp.plan.execution.QueryExecution.getResult(QueryExecution.java:394)
        at org.apache.iotdb.db.mpp.plan.execution.QueryExecution.getByteBufferBatchResult(QueryExecution.java:421)
        at org.apache.iotdb.db.utils.QueryDataSetUtils.convertQueryResultByFetchSize(QueryDataSetUtils.java:387)
        at org.apache.iotdb.db.service.thrift.impl.ClientRPCServiceImpl.fetchResultsV2(ClientRPCServiceImpl.java:423)
        at org.apache.iotdb.service.rpc.thrift.IClientRPCService$Processor$fetchResultsV2.getResult(IClientRPCService.java:3528)
        at org.apache.iotdb.service.rpc.thrift.IClientRPCService$Processor$fetchResultsV2.getResult(IClientRPCService.java:3508)
        at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:38)
        at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:38)
        at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:248)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)

ConfigNode 日志:
 !image-2022-11-23-10-26-35-175.png! 

测试环境
https://apache-iotdb.feishu.cn/docs/doccn0blJR3zeJgEVB7PsGwyC5e#J8fSiJ



--
This message was sent by Atlassian Jira
(v8.20.10#820010)