Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-2692

Compaction interrupted by deleted timeseries

    XMLWordPrintableJSON

Details

    Description

      2022-03-07 13:56:34,091 [pool-7-IoTDB-Compaction-3] ERROR o.a.i.d.e.c.i.s.SizeTieredCompactionTask:196 - root.tenant_1696462764375572-0 [Compaction] Throwable is caught during execution of SizeTieredCompaction, {}
      org.apache.iotdb.db.exception.metadata.PathNotExistException: Path [root.sg.d1.s1] does not exist
          at org.apache.iotdb.db.metadata.mtree.MTree.getNodeByPath(MTree.java:1400)
          at org.apache.iotdb.db.metadata.mtree.MTree.getMeasurementMNode(MTree.java:1512)
          at org.apache.iotdb.db.metadata.MManager.getMeasurementMNode(MManager.java:1530)
          at org.apache.iotdb.db.metadata.MManager.getSeriesSchema(MManager.java:1433)
          at org.apache.iotdb.db.engine.compaction.inner.utils.SingleSeriesCompactionExecutor.<init>(SingleSeriesCompactionExecutor.java:82)
          at org.apache.iotdb.db.engine.compaction.inner.utils.InnerSpaceCompactionUtils.compactNotAlignedSeries(InnerSpaceCompactionUtils.java:114)
          at org.apache.iotdb.db.engine.compaction.inner.utils.InnerSpaceCompactionUtils.compact(InnerSpaceCompactionUtils.java:78)
          at org.apache.iotdb.db.engine.compaction.inner.sizetiered.SizeTieredCompactionTask.doCompaction(SizeTieredCompactionTask.java:119)
          at org.apache.iotdb.db.engine.compaction.task.AbstractCompactionTask.call(AbstractCompactionTask.java:66)
          at org.apache.iotdb.db.engine.compaction.task.AbstractCompactionTask.call(AbstractCompactionTask.java:45)
          at java.util.concurrent.FutureTask.run(FutureTask.java:266)
          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
          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)
      2022-03-07 13:56:34,757 [pool-7-IoTDB-Compaction-4] ERROR o.a.i.d.e.c.c.r.t.RewriteCrossSpaceCompactionTask:90 - Meet errors in cross space compaction, Path [root.sg.d1.s1] does not exist
      2022-03-07 13:56:34,765 [pool-7-IoTDB-Compaction-4] ERROR o.a.i.d.e.c.t.AbstractCompactionTask:68 - Path [root.sg.d1.s1] does not exist
      org.apache.iotdb.db.exception.metadata.PathNotExistException: Path [root.sg.d1.s1] does not exist
          at org.apache.iotdb.db.metadata.mtree.MTree.getNodeByPath(MTree.java:1400)
          at org.apache.iotdb.db.metadata.mtree.MTree.getMeasurementMNode(MTree.java:1512)
          at org.apache.iotdb.db.metadata.MManager.getMeasurementMNode(MManager.java:1530)
          at org.apache.iotdb.db.metadata.MManager.getSeriesSchema(MManager.java:1433)
          at org.apache.iotdb.db.engine.compaction.CompactionUtils.compactNonAlignedSeries(CompactionUtils.java:167)
          at org.apache.iotdb.db.engine.compaction.CompactionUtils.compact(CompactionUtils.java:103)
          at org.apache.iotdb.db.engine.compaction.cross.rewrite.task.RewriteCrossSpaceCompactionTask.executeCompaction(RewriteCrossSpaceCompactionTask.java:145)
          at org.apache.iotdb.db.engine.compaction.cross.rewrite.task.RewriteCrossSpaceCompactionTask.doCompaction(RewriteCrossSpaceCompactionTask.java:87)
          at org.apache.iotdb.db.engine.compaction.task.AbstractCompactionTask.call(AbstractCompactionTask.java:66)
          at org.apache.iotdb.db.engine.compaction.task.AbstractCompactionTask.call(AbstractCompactionTask.java:45)
          at java.util.concurrent.FutureTask.run(FutureTask.java:266)
          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
          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) 

      Attachments

        Issue Links

          Activity

            People

              ericpai Eric Pai
              ericpai Eric Pai
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: