HTHou opened a new pull request, #12953: URL: https://github.com/apache/iotdb/pull/12953
## Description When compression ratio from file is negative, it may cause tsfile flush error.  To reproduce, you can try the following operations. 1. insert the following sql `insert into root.sg.d1(time,s1) values(1,1)` twice. 2. kill -9 datanode and restart datanode 3. execute `insert into root.sg.d1(time,s2) values(1,false)` and `flush` 4. check the file name in data/datanode/system/compression_ratio (should be negative in v1.3.2...) 5. stop datanode and restart datanode 6. execute `insert into root.sg.d1(time,s2) values(2,false)` and `flush` (should be errored.. ) To verify the fix, execute step 1 - 4 on v1.3.2, upgrade to v1.3.3 and then execute step 5 and 6. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
