You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "刘珍 (Jira)" <ji...@apache.org> on 2023/03/16 06:41:00 UTC

[jira] [Reopened] (IOTDB-4684) Devices with the same name but different alignment properties are compacted into the wrong alignment property

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

刘珍 reopened IOTDB-4684:
-----------------------

rc/1.1.0 0314_aeee0eb
100个非对齐设备,写入数据,删除2个非对齐设备,再创建2个与已deleted同名的对齐设备,合并不报错;
再把这2个对齐设备删除,创建2个同名非对齐设备,写入数据,触发合并,报错:
2023-03-16 14:38:18,945 [pool-16-IoTDB-Compaction-3] ERROR o.a.i.d.e.c.e.t.InnerSpaceCompactionTask:269 - root.test.g_0-2 [Compaction] Meet errors in inner space compaction.
org.apache.iotdb.commons.exception.IllegalPathException: root.test.g_0.d_0. is not a legal path
        at org.apache.iotdb.commons.utils.PathUtils.splitPathToDetachedNodes(PathUtils.java:48)
        at org.apache.iotdb.commons.path.PartialPath.<init>(PartialPath.java:82)
        at org.apache.iotdb.db.engine.compaction.execute.performer.impl.ReadChunkCompactionPerformer.compactNotAlignedSeries(ReadChunkCompactionPerformer.java:174)
        at org.apache.iotdb.db.engine.compaction.execute.performer.impl.ReadChunkCompactionPerformer.perform(ReadChunkCompactionPerformer.java:87)
        at org.apache.iotdb.db.engine.compaction.execute.task.InnerSpaceCompactionTask.doCompaction(InnerSpaceCompactionTask.java:151)
        at org.apache.iotdb.db.engine.compaction.execute.task.AbstractCompactionTask.start(AbstractCompactionTask.java:80)
        at org.apache.iotdb.db.engine.compaction.schedule.CompactionWorker.run(CompactionWorker.java:65)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)


> Devices with the same name but different alignment properties are compacted into the wrong alignment property
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: IOTDB-4684
>                 URL: https://issues.apache.org/jira/browse/IOTDB-4684
>             Project: Apache IoTDB
>          Issue Type: Bug
>    Affects Versions: 0.13.0
>            Reporter: 周沛辰
>            Assignee: 周沛辰
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.0.1
>
>         Attachments: exec_4684.sh, iotdb_4684.conf, iotdb_4684_1.conf, iotdb_4684_aligned.conf, screenshot-1.png, screenshot-2.png
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> *Description*
> After the nonAligned device is deleted, an aligned device with the same name is created, and it will be compacted into the nonAligned device after compaction.
> Similarly, after the aligned device is deleted, an nonAligned device with the same name is created, and it will be compacted into the aligned device after compaction.



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