刘珍 created IOTDB-3945:
-------------------------
Summary: Some datanodes can query expired data(set ttl, all data
expires)
Key: IOTDB-3945
URL: https://issues.apache.org/jira/browse/IOTDB-3945
Project: Apache IoTDB
Issue Type: Bug
Components: mpp-cluster
Affects Versions: 0.14.0-SNAPSHOT
Reporter: 刘珍
Assignee: 张洪胤
Attachments: image-2022-07-25-13-30-00-736.png,
image-2022-07-25-13-31-20-683.png, ip3_config.properties,
ip4_config.properties, ip5_config.properties
master_0722_dfcb0a8
3副本3C5D,MultiLeaderConsensus,不设置TTL,3个bm连3个datanode写入数据,全部成功。
设置ttl,所有数据全部过期。
3副本中有2个副本还可以查询到数据(多执行几次查询,会发到不同datanode执行):
!image-2022-07-25-13-30-00-736.png!
期望结果是0。
benchmark写入的数据是2018年的,设置ttl
./sbin/start-cli.sh -h 192.168.130.1 -p 6667 -e 'set ttl to root.test.g0_0
3600000'
!image-2022-07-25-13-31-20-683.png!
复现流程
1. 192.168.130.1/2/3/4/5
2. benchmark 在ip2
3个配置文件见附件。
3. 写入完成,查询数据正确
select count(s_4) from root.** align by device
4. 设置ttl
select count(s_4) from root.** align by device
{color:#DE350B}找出结果不为0的序列{color}
查询这个序列(多执行几次)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)