You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2020/06/12 05:52:42 UTC

[GitHub] [incubator-iotdb] aiping312 opened a new issue #1354: 在timeries下再创建子节点bug

aiping312 opened a new issue #1354:
URL: https://github.com/apache/incubator-iotdb/issues/1354


   使用的是0.10版本。
   在已有的timeries(root.ln.device1.s1)下再创建一个timeries,如root.ln.device1.s1.signal_value。在jdbc和cli下出现不同的结果。
   1)JDBC下这么运行后 ,会造成服务卡死。打印的错误日志:
   java.lang.ClassCastException: org.apache.iotdb.db.metadata.mnode.LeafMNode cannot be cast to org.apache.iotdb.db.metadata.mnode.InternalMNode
   
   
   2)Cli下能成功执行,但是会将root.ln.device1.s1同级的timeries都屏蔽了,结果如下图:
   IoTDB> show timeseries  root.ln
   +-------------+-----+-------------+--------+--------+-----------+
   |   timeseries|alias|storage group|dataType|encoding|compression|
   +-------------+-----+-------------+--------+--------+-----------+
   |root.ln.jgy.1| null|      root.ln|   FLOAT| GORILLA|     SNAPPY|
   |root.ln.jgy.2| null|      root.ln|   FLOAT| GORILLA|     SNAPPY|
   +-------------+-----+-------------+--------+--------+-----------+
   Total line number = 2
   It costs 0.022s
   IoTDB> create timeseries root.ln.jgy.2.signal_value with datatype=FLOAT,encoding=GORILLA
   IoTDB> show timeseries  root.ln
   +--------------------------+-----+-------------+--------+--------+-----------+
   |                timeseries|alias|storage group|dataType|encoding|compression|
   +--------------------------+-----+-------------+--------+--------+-----------+
   |root.ln.jgy.2.signal_value| null|      root.ln|   FLOAT| GORILLA|     SNAPPY|
   +--------------------------+-----+-------------+--------+--------+-----------+
   
   这个是不是应该直接不允许在timeseries下再次创建timeseries


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-iotdb] aiping312 commented on issue #1354: 在timeries下再创建子节点bug

Posted by GitBox <gi...@apache.org>.
aiping312 commented on issue #1354:
URL: https://github.com/apache/incubator-iotdb/issues/1354#issuecomment-648532270


   > 你用的具体是哪个版本啊,是rel/0.10分支么,可以给一个具体的复现步骤吗?
   
   我再基于最新的0.10打包再试一次看看


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-iotdb] JackieTien97 edited a comment on issue #1354: 在timeries下再创建子节点bug

Posted by GitBox <gi...@apache.org>.
JackieTien97 edited a comment on issue #1354:
URL: https://github.com/apache/incubator-iotdb/issues/1354#issuecomment-643170291


   你用的具体是哪个版本啊,是rel/0.10分支么,可以给一个具体的复现步骤吗? 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-iotdb] JackieTien97 commented on issue #1354: 在timeries下再创建子节点bug

Posted by GitBox <gi...@apache.org>.
JackieTien97 commented on issue #1354:
URL: https://github.com/apache/incubator-iotdb/issues/1354#issuecomment-643167820


   在master版本,我们支持了timeseries下再次创建timeseries,即允许root.sg1.d0.s1.s2的出现,我测试了一下,master版本并未出现同级timeseries覆盖的现象。
   <img width="1188" alt="image" src="https://user-images.githubusercontent.com/16079446/84486410-f6614900-accf-11ea-9b64-f0ba7872547d.png">
   在rel/0.10版本下,我们不支持timeseries下再次创建timeseries,我也做了相同的测试,但是创建时会有报错提示,并不会创建成功
   <img width="1188" alt="image" src="https://user-images.githubusercontent.com/16079446/84486494-0f69fa00-acd0-11ea-9dbf-160436cb7109.png">
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-iotdb] JackieTien97 removed a comment on issue #1354: 在timeries下再创建子节点bug

Posted by GitBox <gi...@apache.org>.
JackieTien97 removed a comment on issue #1354:
URL: https://github.com/apache/incubator-iotdb/issues/1354#issuecomment-643141321


   是的,应该是不允许在timeseries下再次创建timeseries,我看一下,感谢反馈!


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-iotdb] JackieTien97 commented on issue #1354: 在timeries下再创建子节点bug

Posted by GitBox <gi...@apache.org>.
JackieTien97 commented on issue #1354:
URL: https://github.com/apache/incubator-iotdb/issues/1354#issuecomment-643170291


   你用的具体是哪个版本啊,是rel/0.10分支么,可以给一个具体的复现步骤吗?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-iotdb] JackieTien97 edited a comment on issue #1354: 在timeries下再创建子节点bug

Posted by GitBox <gi...@apache.org>.
JackieTien97 edited a comment on issue #1354:
URL: https://github.com/apache/incubator-iotdb/issues/1354#issuecomment-643167820


   在master版本,我们支持了timeseries下再次创建timeseries,即允许root.sg1.d0.s1.s2的出现,我测试了一下,master版本并未出现同级timeseries覆盖的现象。
   <img width="811" alt="image" src="https://user-images.githubusercontent.com/16079446/84486640-45a77980-acd0-11ea-9689-754b28b0e884.png">
   
   
   在rel/0.10版本下,我们不支持timeseries下再次创建timeseries,我也做了相同的测试,但是创建时会有报错提示,并不会创建成功
   <img width="1188" alt="image" src="https://user-images.githubusercontent.com/16079446/84486494-0f69fa00-acd0-11ea-9dbf-160436cb7109.png">
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-iotdb] JackieTien97 commented on issue #1354: 在timeries下再创建子节点bug

Posted by GitBox <gi...@apache.org>.
JackieTien97 commented on issue #1354:
URL: https://github.com/apache/incubator-iotdb/issues/1354#issuecomment-643141321


   是的,应该是不允许在timeseries下再次创建timeseries,我看一下,感谢反馈!


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org