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

cluster : The result of "select count(sensor) .. " is inconsistent with that of "select sensor .."

    XMLWordPrintableJSON

Details

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

    Description

      测试版本:
      rel/0.12 958628804c14e58e5083233a6ca6aa370521b504

      问题描述:
      1. 集群信息
      cluster : 5 nodes 1 replication
      seed_nodes=192.168.130.4:9003,192.168.130.10:9003,192.168.130.13:9003,192.168.130.17:9003,192.168.130.20:9003

      default_replica_num=1

      2. 启动4/10/13/17/20

      3.在17节点运行SessionExample.java (见附件)
      编译与运行(运行时间约1.5分钟):
      javac -cp ./lib/*:. SessionExample.java
      java -cp ./lib/*:. SessionExample

      4. cli查询
      select count(s1) from root.sg5.d1
      select s1 from root.sg5.d1
      执行结果记录数不一致。

      select count(s1) from root.sg5.d1的结果为30003(这个结果也有问题,应该是30000
      select s1 from root.sg5.d1的结果为:
      Total line number = 10000

      Attachments

        1. image-2021-10-26-17-38-05-803.png
          16 kB
          刘珍
        2. SessionExample.java
          24 kB
          刘珍

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: