刘珍 created IOTDB-1963:
-------------------------
Summary: master :Compaction recover causes of data loss (Before
this problem there was the kill operation in revover)
Key: IOTDB-1963
URL: https://issues.apache.org/jira/browse/IOTDB-1963
Project: Apache IoTDB
Issue Type: Bug
Components: Core/Compaction
Affects Versions: master branch
Reporter: 刘珍
Attachments: config.properties.1, config.properties.2
master 0073a28384cdb84e9469dbf98705ab158dd43a31
1. Run the Benchmark tool ,Execute 2 times in serial
See the attachment for configuration parameters
2. Execute q.sh (All SQL results:200000000)
Ensure that data is correct before the restart
3. Back up data
4.Execute stop-server.sh when compacting
5. Execute start-server.sh
Execute q.sh (All SQL results:200000000)
Run for about 30 minutes
Execute stop-server.sh when compacting
6. Back up data
7. Execute start-server.sh
Execute “killall -u xx” before "Congratulation, IoTDB is set up successfully.
Now, enjoy yourself!"
That is to say,
Execute “killall -u xx” when recovering.
8. Back up data
9. Execute start-server.sh
Execute q.sh(The expected value of all SQL results is:200000000) :
+-----------------------------+
|count(root.ip5.ip52.d_12.s_0)|
+-----------------------------+
| {color:red}*199804000*{color}|
+-----------------------------+
Total line number = 1
It costs 69.841s
+----------------------------+
|count(root.ip5.ip52.d_2.s_0)|
+----------------------------+
| {color:red}*199803000*{color}|
+----------------------------+
Total line number = 1
It costs 64.820s
--
This message was sent by Atlassian Jira
(v8.20.1#820001)