You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Jialin Qiao (Jira)" <ji...@apache.org> on 2020/04/10 08:15:00 UTC
[jira] [Created] (IOTDB-585) Recover and delete bug
Jialin Qiao created IOTDB-585:
---------------------------------
Summary: Recover and delete bug
Key: IOTDB-585
URL: https://issues.apache.org/jira/browse/IOTDB-585
Project: Apache IoTDB
Issue Type: Bug
Components: Core/Engine
Affects Versions: 0.10.0-SNAPSHOT
Reporter: Jialin Qiao
```
insert into root.turbine.d1(timestamp,s1) values(1,1);
insert into root.turbine.d1(timestamp,s1) values(2,2);
insert into root.turbine.d1(timestamp,s1) values(3,3);
restart server !
delete from root.turbine.d1.s1 where time<=1
flush
delete from root.turbine.d1.s1 where time<=2
select * from root
```
Then you will see no data is deleted. This is because the data has MAX_VALUE version.
When recovering, the version of recovered memtable is not set, which has the MAX_VALUE version.
Another bug is, when make metadata visible in RestorableTsFileIOWriter, the ChunkMetadatas are not set version too.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)