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/22 02:26:00 UTC

[jira] [Reopened] (IOTDB-5686) [ Sequence InnerSpaceCompaction ] Devices with the same name but different alignment properties:Meet errors in inner space compaction.

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

刘珍 reopened IOTDB-5686:
-----------------------

rc/1.1.0 0321_6616b0d  合并不报错,但是数据不一致
count(s_0)是110,s_0是80条。



> [ Sequence InnerSpaceCompaction ] Devices with the same name but different alignment properties:Meet errors in inner space compaction. 
> ---------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: IOTDB-5686
>                 URL: https://issues.apache.org/jira/browse/IOTDB-5686
>             Project: Apache IoTDB
>          Issue Type: Bug
>          Components: Core/Compaction, mpp-cluster
>    Affects Versions: 1.1.0-SNAPSHOT
>            Reporter: 刘珍
>            Assignee: 周沛辰
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: master branch, 1.1.0-SNAPSHOT
>
>         Attachments: 0316.zip, image-2023-03-22-10-25-24-477.png
>
>
> 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)
> 数据库测试版本 rc/1.1.0 0314_aeee0eb
> 私有云1期172.16.2.18
> bm:172.16.2.30
> 集群配置参数
> CN
> MAX_HEAP_SIZE="2G"
> cn_internal_address=172.16.2.18
> cn_target_config_node_list=172.16.2.18:10710
> DN
> MAX_HEAP_SIZE="20G"
> MAX_DIRECT_MEMORY_SIZE="6G"
> dn_rpc_address=172.16.2.18
> dn_internal_address=172.16.2.18
> dn_target_config_node_list=172.16.2.18:10710
> 运行脚本见附件0316.tar.gz



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