[
https://issues.apache.org/jira/browse/IOTDB-3945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17570819#comment-17570819
]
张洪胤 commented on IOTDB-3945:
----------------------------
Test on master in 0725, failed to set ttl with 500 code.
> 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: 张洪胤
> Priority: Major
> 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
> schema_region_consensus_protocol_class=org.apache.iotdb.consensus.ratis.RatisConsensus
> data_region_consensus_protocol_class=org.apache.iotdb.consensus.multileader.MultiLeaderConsensus
> schema_replication_factor=3
> data_replication_factor=3
> confignode:
> MAX_HEAP_SIZE="4G"
> datanode:
> MAX_HEAP_SIZE="16G"
> wal_buffer_size_in_byte=1048576
> max_waiting_time_when_insert_blocked=3600000
> query_timeout_threshold=36000000
> 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)