刘珍 created IOTDB-4152:
-------------------------

             Summary: [ cross compaction ] overlapped data should be consumed 
first
                 Key: IOTDB-4152
                 URL: https://issues.apache.org/jira/browse/IOTDB-4152
             Project: Apache IoTDB
          Issue Type: Bug
          Components: Core/Compaction, mpp-cluster
    Affects Versions: 0.14.0-SNAPSHOT
            Reporter: 刘珍
            Assignee: 周沛辰


NewIoTDB
m_0815_db0b6fd
周测场景,普通序列写入乱序数据,select count(s_4) from root.** align by device 报错
2022-08-16 19:07:30,385 [20220816_110730_48763_0.1.0-47] ERROR 
o.a.i.d.m.e.driver.Driver:193 - Failed to execute fragment instance 
20220816_110730_48763_0.1.0
java.lang.RuntimeException: Error while scanning the file
        at 
org.apache.iotdb.db.mpp.execution.operator.source.AbstractSeriesAggregationScanOperator.calculateNextAggregationResult(AbstractSeriesAggregationScanOperator.java:179)
        at 
org.apache.iotdb.db.mpp.execution.operator.source.AbstractSeriesAggregationScanOperator.next(AbstractSeriesAggregationScanOperator.java:137)
        at 
org.apache.iotdb.db.mpp.execution.operator.process.DeviceViewOperator.next(DeviceViewOperator.java:107)
        at 
org.apache.iotdb.db.mpp.execution.operator.process.DeviceMergeOperator.next(DeviceMergeOperator.java:118)
        at 
org.apache.iotdb.db.mpp.execution.driver.Driver.processInternal(Driver.java:186)
        at 
org.apache.iotdb.db.mpp.execution.driver.Driver.lambda$processFor$1(Driver.java:125)
        at 
org.apache.iotdb.db.mpp.execution.driver.Driver.tryWithLock(Driver.java:271)
        at 
org.apache.iotdb.db.mpp.execution.driver.Driver.processFor(Driver.java:118)
        at 
org.apache.iotdb.db.mpp.execution.schedule.DriverTaskThread.execute(DriverTaskThread.java:62)
        at 
org.apache.iotdb.db.mpp.execution.schedule.AbstractDriverThread.run(AbstractDriverThread.java:64)
Caused by: java.io.IOException: {color:red}*overlapped data should be consumed 
first*{color}
        at 
org.apache.iotdb.db.mpp.execution.operator.source.SeriesScanUtil.isPageOverlapped(SeriesScanUtil.java:580)
        at 
org.apache.iotdb.db.mpp.execution.operator.source.AbstractSeriesAggregationScanOperator.canUseCurrentPageStatistics(AbstractSeriesAggregationScanOperator.java:346)
        at 
org.apache.iotdb.db.mpp.execution.operator.source.AbstractSeriesAggregationScanOperator.readAndCalcFromPage(AbstractSeriesAggregationScanOperator.java:285)
        at 
org.apache.iotdb.db.mpp.execution.operator.source.AbstractSeriesAggregationScanOperator.readAndCalcFromChunk(AbstractSeriesAggregationScanOperator.java:276)
        at 
org.apache.iotdb.db.mpp.execution.operator.source.AbstractSeriesAggregationScanOperator.readAndCalcFromFile(AbstractSeriesAggregationScanOperator.java:237)
        at 
org.apache.iotdb.db.mpp.execution.operator.source.AbstractSeriesAggregationScanOperator.calculateNextAggregationResult(AbstractSeriesAggregationScanOperator.java:172)
        ... 9 common frames omitted




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to