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/03 06:46:00 UTC

[jira] [Commented] (IOTDB-5600) Metadata between nodes is inconsistent

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

刘珍 commented on IOTDB-5600:
---------------------------

同构机器,干净环境,benchmark 只执行iotdb_5516.conf,运行完成,(几分钟后)cli 执行flush,检查各节点元数据的一致性,结果:不一致:
与drop database 操作无关。
 !screenshot-1.png! 

> Metadata between nodes is inconsistent
> --------------------------------------
>
>                 Key: IOTDB-5600
>                 URL: https://issues.apache.org/jira/browse/IOTDB-5600
>             Project: Apache IoTDB
>          Issue Type: Improvement
>            Reporter: 刘珍
>            Assignee: Yukun Zhou
>            Priority: Major
>         Attachments: exec_iotdb_5516.sh, image-2023-03-01-13-47-52-418.png, iotdb.sh, iotdb_5516.conf, screenshot-1.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)