[ https://issues.apache.org/jira/browse/IOTDB-1897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17439122#comment-17439122 ]
刘珍 commented on IOTDB-1897: --------------------------- master 5 nodes 1rep (0073a28384cdb84e9469dbf98705ab158dd43a31),Same problem > cluster : The result of "select count(sensor) .. " is inconsistent with > that of "select sensor .." > ---------------------------------------------------------------------------------------------------- > > Key: IOTDB-1897 > URL: https://issues.apache.org/jira/browse/IOTDB-1897 > Project: Apache IoTDB > Issue Type: Bug > Components: Core/Cluster > Affects Versions: 0.12.3 > Reporter: 刘珍 > Priority: Major > Attachments: SessionExample.java, image-2021-10-26-17-38-05-803.png > > > 测试版本: > 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 > {color:#DE350B}*执行结果记录数不一致。*{color} > !image-2021-10-26-17-38-05-803.png|thumbnail! > select count(s1) from > root.sg5.d1的结果为30003({color:#DE350B}*这个结果也有问题,应该是30000*{color}) > select s1 from root.sg5.d1的结果为: > Total line number = 10000 -- This message was sent by Atlassian Jira (v8.3.4#803005)