Jialin Qiao created IOTDB-836:
---------------------------------
Summary: Merge statistics failed when endFile
Key: IOTDB-836
URL: https://issues.apache.org/jira/browse/IOTDB-836
Project: Apache IoTDB
Issue Type: Bug
Components: Core/Engine
Affects Versions: 0.9.3, 0.10.0
Reporter: Jialin Qiao
enable_parameter_adapter=false
memtable_size_threshold=16
create timeseries root.turbine1.d1.s1 with datatype=INT64, encoding=PLAIN,
compression=SNAPPY
create timeseries root.turbine1.d1.s2 with datatype=INT64, encoding=PLAIN,
compression=SNAPPY
insert into root.turbine1.d1(timestamp,s1,s2) values(1,1,2);
delete timeseries root.turbine1.d1.s1
create timeseries root.turbine1.d1.s1 with datatype=DOUBLE, encoding=PLAIN,
compression=SNAPPY
insert into root.turbine1.d1(timestamp,s1) values(2,1.1);
flush
Then:
org.apache.iotdb.tsfile.exception.filter.StatisticsClassException: Statistics
classes mismatched: class
org.apache.iotdb.tsfile.file.metadata.statistics.LongStatistics vs. class
org.apache.iotdb.tsfile.file.metadata.statistics.DoubleStatistics
at
org.apache.iotdb.tsfile.file.metadata.statistics.Statistics.mergeStatistics(Statistics.java:164)
at
org.apache.iotdb.tsfile.write.writer.TsFileIOWriter.flushMetadataIndex(TsFileIOWriter.java:304)
at
org.apache.iotdb.tsfile.write.writer.TsFileIOWriter.endFile(TsFileIOWriter.java:239)
at
org.apache.iotdb.db.engine.storagegroup.TsFileProcessor.endFile(TsFileProcessor.java:648)
at
org.apache.iotdb.db.engine.storagegroup.TsFileProcessor.flushOneMemTable(TsFileProcessor.java:620)
at
org.apache.iotdb.db.engine.flush.FlushManager$FlushThread.runMayThrow(FlushManager.java:91)
at org.apache.iotdb.db.concurrent.WrappedRunnable.run(WrappedRunnable.java:32)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)