stormbroken opened a new pull request #4171:
URL: https://github.com/apache/iotdb/pull/4171


   The details of this problem: 
https://issues.apache.org/jira/projects/IOTDB/issues/IOTDB-1846?filter=allissues
   
   In the previous implementation, counting the total number of devices is only 
counting the local devices. So I fix this in ClusterPlanExector.class to count 
all devices in all cluster.
   
   The result(Test)
   I use iotdb-benchmark to write data(DEVICE_NUMBER=20) into cluster, and then 
query each node to see the results.
   Some details pictures are as follows:
   
   1. The details of devices:
   
   
![2CC7A0FE-F8D7-4E34-AD15-6A477C9C0F9C](https://user-images.githubusercontent.com/46039728/137607973-b9e7db04-0521-40f4-9c5d-1ba5e1dbfa8e.png)
   
   2. The total number of devices(same in three nodes)
   
   
![image](https://user-images.githubusercontent.com/46039728/137607983-227996f7-e2cc-4b40-93f0-2b4db2b59fdc.png)
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to