You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "ZhaoXin (Jira)" <ji...@apache.org> on 2022/01/20 01:42:00 UTC

[jira] [Commented] (IOTDB-2447) [Template]Repeated information in mlog

    [ https://issues.apache.org/jira/browse/IOTDB-2447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17479051#comment-17479051 ] 

ZhaoXin commented on IOTDB-2447:
--------------------------------

经沟通确认,ISSUE 中的图片展示的现象与期望设计相同,目前不属于故障。

在 mlog 中,每一行的第一个数字是“类型标志位”。例如,在图中高亮的两行中,开头是 4 的那一行,意思是 “系统自动创建了该路径的节点”,开头是 61 的那一行,才是“该节点正在使用模板”。

在本用例中,最先只创建了 root.test.g_16 ,但是写入的序列路径和模板匹配后,系统发现需要自动创建节点 root.test.g_16.d_216 ,所以形成了记录 【4, root.test.g_16.d_216】 ,接着需要在节点使用模板,再形成 【61, root.test.g_16.d_216】,即符合设计预期。

> [Template]Repeated information in mlog
> --------------------------------------
>
>                 Key: IOTDB-2447
>                 URL: https://issues.apache.org/jira/browse/IOTDB-2447
>             Project: Apache IoTDB
>          Issue Type: Bug
>          Components: Core/Engine
>    Affects Versions: 0.13.0-SNAPSHOT
>            Reporter: FengQingxin
>            Assignee: ZhaoXin
>            Priority: Major
>              Labels: 0.13.0
>         Attachments: config.properties, image-2022-01-19-19-19-25-067.png, pre1.text, template0119.text
>
>
> 复现步骤
> 1.启动iotdb
> 2.进入cli
> 3.创建template
> create schema template temp1(s_***)
> 4.创建存储组
> create storage group root.test.g_0....
> 5.挂载模板
> set schema template temp1 to root.test.g_0....
> 6.启动bm向iotdb写入数据
> 7.通过工具转译mlog.bin查看内部信息
> 错误:第47行和第52行 存在都是d_216的信息
> 期望:只有第52行
> !image-2022-01-19-19-19-25-067.png!



--
This message was sent by Atlassian Jira
(v8.20.1#820001)