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

Yukun Zhou commented on IOTDB-5600:
-----------------------------------

Such problem cannot be fixed in current cluster architecture, but can be 
avoided by ensuring plenty memory resource for schema module.

> 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)

Reply via email to