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 2023/03/01 05:51:00 UTC

[jira] [Created] (IOTDB-5600) [drop database + create metadata ]

刘珍 created IOTDB-5600:
-------------------------

             Summary: [drop database + create metadata ]
                 Key: IOTDB-5600
                 URL: https://issues.apache.org/jira/browse/IOTDB-5600
             Project: Apache IoTDB
          Issue Type: Improvement
            Reporter: 刘珍
            Assignee: Yukun Zhou
         Attachments: image-2023-03-01-13-47-52-418.png

master_0228_3ef36de
{ drop database + create metadata , insert 1 point/sensor } , execute 10 times in serial .
benchmark execution complete,cli -e "flush"
Metadata between nodes is inconsistent. 
 !image-2023-03-01-13-47-52-418.png! 
测试流程:
1.启动3副本3C5D . 把自动创建元数据设置为false
ConfigNode
MAX_HEAP_SIZE="20G"
MAX_DIRECT_MEMORY_SIZE="6G"
DataNode
MAX_HEAP_SIZE="20G"
MAX_DIRECT_MEMORY_SIZE="6G"
COMMON:
schema_replication_factor=3
data_replication_factor=3
enable_auto_create_schema=false

3ConfigNode :
172.16.2.23
172.16.2.24
172.16.2.25
5DataNode:
172.16.2.2
172.16.2.3
172.16.2.4
172.16.2.5
172.16.2.6

2. 运行如下脚本(172.16.2.26机器,/data/iotdb/benchmark_v1下):
for i in {1..10}
do
        /data/iotdb/m_0227_2bc29bb/sbin/start-cli.sh -h 172.16.2.2 -e "drop database root.test.*;"
        sh ./iotdb.sh 5516 > 5516_$i.out
done

运行完成,cli 执行flush。

3. 验证各节点元数据与数据一致性
所有节点在线:count devices
down掉ip2:count devices
down 掉ip6:count devices
查询结果不一致。




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