Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-1979

cluster:Insert into the nonexistent timeseries succeeded, but show timeseries got "Empty set."

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • master branch, 0.12.3
    • None
    • Core/Cluster
    • None

    Description

      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);
      Msg: The statement is executed successfully.
      IoTDB>
      IoTDB>
      IoTDB> show timeseries root.test.g_1.d_21
      -------------------------------------------------------+

      timeseries alias storage group dataType encoding compression tags attributes

      -------------------------------------------------------+
      -------------------------------------------------------+
      Empty set.


      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            tanxinyu Xinyu Tan
            刘珍 刘珍
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment