刘珍 created IOTDB-4211:
-------------------------
Summary: [ ratisConsensus ] Inconsistent query results after
restart (with before restart)
Key: IOTDB-4211
URL: https://issues.apache.org/jira/browse/IOTDB-4211
Project: Apache IoTDB
Issue Type: Bug
Components: mpp-cluster
Affects Versions: 0.14.0-SNAPSHOT
Reporter: 刘珍
Assignee: Liuxuxin
Attachments: image-2022-08-23-15-07-57-230.png
m_0822_700b135
ratisConsensus , 关合并, 3副本3C3D,bm写入数据完成后(有system reject),cli执行flush,select
count(s_4) from root.** align by device 记录查询结果 q1
停止集群,备份confignode/datanode 的data 和 logs
重启集群,执行查询,{color:#DE350B}*查询结果与集群重启前(q1)不一致*{color}(已复测,相同结论)。
!image-2022-08-23-15-07-57-230.png!
复测流程
1. 192.168.10.72/73/74 48核384G
benchmark在ip71
ConfigNode配置
MAX_HEAP_SIZE="8G"
schema_region_consensus_protocol_class=org.apache.iotdb.consensus.ratis.RatisConsensus
data_region_consensus_protocol_class=org.apache.iotdb.consensus.ratis.RatisConsensus
schema_replication_factor=3
data_replication_factor=3
DataNode配置
enable_seq_space_compaction=false
enable_unseq_space_compaction=false
enable_cross_space_compaction=false
2. benchmark配置文件见附件
3. bm运行完,查看raft log的同步情况,主从均同步完毕
4. flush
5. select count(s_4) from root.** align by device
记录结果q1
6. 停止集群,备份data logs
7. 启动集群
select count(s_4) from root.** align by device
记录结果q2
q2与q1的查询结果不一致
--
This message was sent by Atlassian Jira
(v8.20.10#820010)