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

FengQingxin reassigned IOTDB-5052:
----------------------------------

    Assignee: 周沛辰

>  [compaction]Meet error in cross space compaction
> -------------------------------------------------
>
>                 Key: IOTDB-5052
>                 URL: https://issues.apache.org/jira/browse/IOTDB-5052
>             Project: Apache IoTDB
>          Issue Type: Bug
>          Components: Core/Cluster
>    Affects Versions: 0.14.0-SNAPSHOT
>            Reporter: FengQingxin
>            Assignee: 周沛辰
>            Priority: Major
>         Attachments: image-2022-11-25-23-11-04-650.png, logs.tar.gz, 
> logs_inner.tar.gz, unseq_rw
>
>
> 1.Start a 1C1D wit default config
> 2.using a bm to do write and read operations(config as the attachment 
> unseq_rw)
> 2022-11-25 15:41:48,120 [pool-19-IoTDB-Compaction-8] ERROR 
> o.a.i.d.e.c.c.CrossSpaceCompactionTask:200 - root.test.g_5-15 [Compaction] 
> Meet errors in cross space compaction. 
> org.apache.iotdb.tsfile.exception.TsFileRuntimeException: Error occurred 
> while reading a time series metadata block.
>     at 
> org.apache.iotdb.tsfile.read.TsFileDeviceIterator.next(TsFileDeviceIterator.java:91)
>     at 
> org.apache.iotdb.db.engine.compaction.inner.utils.MultiTsFileDeviceIterator.nextDevice(MultiTsFileDeviceIterator.java:118)
>     at 
> org.apache.iotdb.db.engine.compaction.performer.impl.ReadPointCompactionPerformer.perform(ReadPointCompactionPerformer.java:117)
>     at 
> org.apache.iotdb.db.engine.compaction.cross.CrossSpaceCompactionTask.doCompaction(CrossSpaceCompactionTask.java:153)
>     at 
> org.apache.iotdb.db.engine.compaction.task.AbstractCompactionTask.start(AbstractCompactionTask.java:76)
>     at 
> org.apache.iotdb.db.engine.compaction.CompactionWorker.run(CompactionWorker.java:66)
>     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:1149)
>     at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>     at java.lang.Thread.run(Thread.java:748)
> !image-2022-11-25-23-11-04-650.png|width=966,height=468!
>  
> After that we try to reduce this and get the tsfile in error log,but we got 
> another error msg like below: (log_inner.tar.gz)
> 2022-11-25 22:59:46,089 [pool-19-IoTDB-Compaction-10] ERROR 
> o.a.i.d.e.c.i.InnerSpaceCompactionTask:236 - root.test.g_4-47 [Compaction] 
> Meet errors in inner space compaction.
> java.nio.channels.ClosedChannelException: null
>         at sun.nio.ch.FileChannelImpl.ensureOpen(FileChannelImpl.java:110)
>         at sun.nio.ch.FileChannelImpl.read(FileChannelImpl.java:721)
>         at 
> org.apache.iotdb.tsfile.read.reader.LocalTsFileInput.read(LocalTsFileInput.java:95)
>         at 
> org.apache.iotdb.tsfile.utils.ReadWriteIOUtils.readAsPossible(ReadWriteIOUtils.java:806)
>         at 
> org.apache.iotdb.tsfile.read.TsFileSequenceReader.readData(TsFileSequenceReader.java:1381)
>         at 
> org.apache.iotdb.tsfile.read.TsFileSequenceReader.readData(TsFileSequenceReader.java:1407)
>         at 
> org.apache.iotdb.tsfile.read.TsFileSequenceReader.getDeviceTimeseriesMetadata(TsFileSequenceReader.java:934)
>         at 
> org.apache.iotdb.db.engine.compaction.inner.utils.MultiTsFileDeviceIterator.getAllSchemasOfCurrentDevice(MultiTsFileDeviceIterator.java:155)
>         at 
> org.apache.iotdb.db.engine.compaction.performer.impl.ReadPointCompactionPerformer.compactNonAlignedSeries(ReadPointCompactionPerformer.java:192)
>         at 
> org.apache.iotdb.db.engine.compaction.performer.impl.ReadPointCompactionPerformer.perform(ReadPointCompactionPerformer.java:126)
>         at 
> org.apache.iotdb.db.engine.compaction.inner.InnerSpaceCompactionTask.doCompaction(InnerSpaceCompactionTask.java:145)
>         at 
> org.apache.iotdb.db.engine.compaction.task.AbstractCompactionTask.start(AbstractCompactionTask.java:76)
>         at 
> org.apache.iotdb.db.engine.compaction.CompactionWorker.run(CompactionWorker.java:66)
>         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:1149)
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>         at java.lang.Thread.run(Thread.java:748)
> 2022-11-25 22:59:46,096 [pool-19-IoTDB-Compaction- 



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

Reply via email to