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/09 10:06:00 UTC
[jira] [Created] (IOTDB-1979) cluster:Insert into the nonexistent sequence succeeded, but show timeseries got "Empty set."
刘珍 created IOTDB-1979:
-------------------------
Summary: cluster:Insert into the nonexistent sequence succeeded, but show timeseries got "Empty set."
Key: IOTDB-1979
URL: https://issues.apache.org/jira/browse/IOTDB-1979
Project: Apache IoTDB
Issue Type: Bug
Components: Core/Cluster
Reporter: 刘珍
Attachments: config.properties.records.insert, config.properties.records.query, image-2021-11-09-18-04-58-188.png
master 0073a28384cdb84e9469dbf98705ab158dd43a31
rel/0.12 f295447aafc1687e8b3f55b360601fe1cffa53f1
1. cluster
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
default_replica_num=1
* default_storage_group_level=1(default)*
*
2. 192.168.130.10 benchmark
/home/iotdb/liuzhen_test/bm_1103
DB_SWITCH=IoTDB-012-SESSION_BY_RECORDS
HOST=192.168.130.10
DB_NAME=test
BATCH_SIZE_PER_WRITE=10
LOOP=1000000
GROUP_NUMBER=10
DEVICE_NUMBER=100
SENSOR_NUMBER=1
CLIENT_NUMBER=100
cd /home/iotdb/liuzhen_test/bm_1103
cp conf/config.properties.records.insert conf/config.properties
nohup ./benchmark.sh > records_insert.out &
sleep 120
cp conf/config.properties.records.query conf/config.properties
nohup ./benchmark.sh > records_query.out &
3. 192.168.130.4 cli
delete storage group root.*
count timeseries
If the result of count timeseries is 100,Continue to perform
delete storage group root.*
count timeseries
...
When the result of ”count timeseries “ is less than 100,Run “show timeseries ” to find the device that failed to create:
count(root.test.g_0~root.test.g_9) <10 .(当count timeseries 的值小于100,运行
show timeseries,在结果中找出是哪个设备创建失败,root.test.g_0到root.test.g_9的个数应该等于10,如果小于10,看看是哪个设备没创建成功,比如,我的环境是root.test.g_1.d_21没创建成功)
IoTDB> insert into root.test.g_1.d_21(time,s_0) values(1,3.45);
{color:#00875A}*Msg: The statement is executed successfully.*{color}
IoTDB>
IoTDB>
IoTDB> show timeseries root.test.g_1.d_21
+----------+-----+-------------+--------+--------+-----------+----+----------+
|timeseries|alias|storage group|dataType|encoding|compression|tags|attributes|
+----------+-----+-------------+--------+--------+-----------+----+----------+
+----------+-----+-------------+--------+--------+-----------+----+----------+
{color:#DE350B}*Empty set.*{color}
!image-2021-11-09-18-04-58-188.png!
-----
--
This message was sent by Atlassian Jira
(v8.20.1#820001)