You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Zesong Sun (Jira)" <ji...@apache.org> on 2020/08/15 08:41:00 UTC

[jira] [Assigned] (IOTDB-836) Merge statistics failed when endFile

     [ https://issues.apache.org/jira/browse/IOTDB-836?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zesong Sun reassigned IOTDB-836:
--------------------------------

    Assignee: Zesong Sun

> 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.10.0, 0.9.3
>            Reporter: Jialin Qiao
>            Assignee: Zesong Sun
>            Priority: Major
>              Labels: pull-request-available
>
> 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)