You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2022/08/04 01:57:26 UTC

[GitHub] [iotdb] neuyilan commented on a diff in pull request #6886: [IOTDB-4028] Npe in updateNodeLoadStatistic of LoadManager when cluster first starts.

neuyilan commented on code in PR #6886:
URL: https://github.com/apache/iotdb/pull/6886#discussion_r937280381


##########
confignode/src/main/java/org/apache/iotdb/confignode/persistence/NodeInfo.java:
##########
@@ -268,6 +268,21 @@ public int getRegisteredConfigNodeCount() {
     }
     return result;
   }
+
+  /** Return the number of registered ConfigNodes */
+  public int getRegisteredNodeCount() {
+    int result;

Review Comment:
   Change the comment, please. actually, this method calculated the total number of nodes for confignodes and datanodes.



-- 
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: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org