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 2021/11/08 07:02:00 UTC

[jira] [Commented] (IOTDB-1402) Support the auto-create-schema mechanism for insertRecords in cluster module

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

刘珍 commented on IOTDB-1402:
---------------------------

master 0073a28384cdb84e9469dbf98705ab158dd43a31
5节点1副本
seed_nodes=192.168.130.4:9003,192.168.130.10:9003,192.168.130.11:9003,192.168.130.13:9003,192.168.130.19:9003

benchmark 在 130.10机器。
benchmark配置见附件,先启动写入测试,(3分钟后)再启动benchmark查询,测试过程中,cli执行几次(比如 3,4,5次):
delete storage group root.*
count timeseries

期望结果:
IoTDB> count timeseries
+-----+
|count|
+-----+
|  100|
+-----+
(执行几次delete storage group root.*后的)实际结果:
IoTDB> count timeseries
+-----+
|count|
+-----+
|   96|
+-----+

benchmark异常日志:
2021-11-08 14:43:43,360 ERROR cn.edu.tsinghua.iotdb.benchmark.iotdb012.IoTDB:610 - exception occurred when execute query=SELECT count(s_0) FROM root.test.g_2.d_52 WHERE time >= 1537383617000 AND time <= 1537383867000 AND root.test.g_2.d_52.s_0 > -5
org.apache.iotdb.jdbc.IoTDBSQLException: 411: Error occurred in query process: Storage group is not set for current seriesPath: [root.test.g_2.d_52.s_0]
        at org.apache.iotdb.jdbc.IoTDBStatement.executeQuerySQL(IoTDBStatement.java:396)
        at org.apache.iotdb.jdbc.IoTDBStatement.executeQuery(IoTDBStatement.java:367)
        at org.apache.iotdb.jdbc.IoTDBStatement.executeQuery(IoTDBStatement.java:357)
        at cn.edu.tsinghua.iotdb.benchmark.iotdb012.IoTDB.lambda$executeQueryAndGetStatus$0(IoTDB.java:588)
        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)




> Support the auto-create-schema mechanism for insertRecords in cluster module
> ----------------------------------------------------------------------------
>
>                 Key: IOTDB-1402
>                 URL: https://issues.apache.org/jira/browse/IOTDB-1402
>             Project: Apache IoTDB
>          Issue Type: Bug
>          Components: Core/Cluster
>            Reporter: Xinyu Tan
>            Priority: Major
>         Attachments: image-2021-08-31-15-46-20-284.png
>
>
> On 28 May's commit 363bda92dbdb0f2f4739138ec858c91bb7c81efb, after starting three node single replica cluster, sessionExample insertrecords interface will be written in the failure. This is mainly due to problems with the automatic schema creation logic of InsertRowsPlan in the cluster, which does not handle BatchProcessException well



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