[ https://issues.apache.org/jira/browse/IOTDB-5287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
刘珍 reopened IOTDB-5287: ----------------------- master 0210 87574002be7e9c774c136dd4ab4f949a9c7ee2ec > [ConfigNode][3rep3C3D 1DataNode-ReadOnly] Create DataPartition failed > --------------------------------------------------------------------- > > Key: IOTDB-5287 > URL: https://issues.apache.org/jira/browse/IOTDB-5287 > Project: Apache IoTDB > Issue Type: Bug > Components: mpp-cluster > Affects Versions: master branch, 1.0.0 > Reporter: 刘珍 > Assignee: 陈哲涵 > Priority: Major > Labels: pull-request-available > Attachments: iotdb_5287.conf > > Original Estimate: 48h > Remaining Estimate: 48h > > master_1226_30335b3 > 问题描述: > 3副本3C3D集群,BM写入数据过程中,1节点readonly(手动set), > 当写入的数据触发创建新的时间分区时,ConfigNode报错(写入的数据若在已有时间分区范围,可继续写入,没有报错) > 2022-12-26 19:35:59,489 [pool-12-IoTDB-ConfigNodeRPC-Processor-37] ERROR > o.a.i.c.m.p.PartitionManager:307 - Create DataPartition failed because: > org.apache.iotdb.confignode.exception.NoAvailableRegionGroupException: > {color:#DE350B}*There are no available DataRegionGroup RegionGroups > currently, please use "show cluster" > or "show regions" to check the cluster status*{color} > at > org.apache.iotdb.confignode.manager.partition.PartitionManager.getSortedRegionGroupSlotsCounter(PartitionManager.java:598) > at > org.apache.iotdb.confignode.manager.load.balancer.partition.GreedyPartitionAllocator.allocateDataPartition(GreedyPartitionAllocator.java:101) > at > org.apache.iotdb.confignode.manager.load.balancer.PartitionBalancer.allocateDataPartition(PartitionBalancer.java:66) > at > org.apache.iotdb.confignode.manager.load.LoadManager.allocateDataPartition(LoadManager.java:139) > at > org.apache.iotdb.confignode.manager.partition.PartitionManager.getOrCreateDataPartition(PartitionManager.java:305) > at > org.apache.iotdb.confignode.manager.ConfigManager.getOrCreateDataPartition(ConfigManager.java:676) > at > org.apache.iotdb.confignode.service.thrift.ConfigNodeRPCServiceProcessor.getOrCreateDataPartitionTable(ConfigNodeRPCServiceProcessor.java:389) > at > org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService$Processor$getOrCreateDataPartitionTable.getResult(IConfigNodeRPCService.java:5916) > at > org.apache.iotdb.confignode.rpc.thrift.IConfigNodeRPCService$Processor$getOrCreateDataPartitionTable.getResult(IConfigNodeRPCService.java:5896) > 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) > 测试环境 > 1. 192.168.10.72/73/74 48CPU384GB > ConfigNode配置 > MAX_HEAP_SIZE="8G" > DataNode配置 > MAX_HEAP_SIZE="192G" > MAX_DIRECT_MEMORY_SIZE="32G" > Common配置 > schema_replication_factor=3 > data_replication_factor=3 > time_partition_interval=3600000 > query_timeout_threshold=36000000 > 2. 运行BM (附件中的配置) > 刚开始写入数据的时候,就手动设置(IP72)datanode为readonly > cli -e "set system to readonly on local" > 3. 产生新的时间分区时,confignode报错 -- This message was sent by Atlassian Jira (v8.20.10#820010)