fanhualta commented on a change in pull request #3191:
URL: https://github.com/apache/iotdb/pull/3191#discussion_r640727137
##########
File path:
cluster/src/main/java/org/apache/iotdb/cluster/server/member/MetaGroupMember.java
##########
@@ -1501,11 +1814,20 @@ public TSStatus
processNonPartitionedMetaPlan(PhysicalPlan plan) {
Thread.currentThread().interrupt();
logger.warn("Cannot get the status of all nodes", e);
}
+
+ for (Node node : partitionTable.getAllNodes()) {
+ nodeStatus.putIfAbsent(node, 2);
+ }
+ for (Node node : allNodes) {
+ if (!partitionTable.getAllNodes().contains(node)) {
+ nodeStatus.put(node, 3);
+ }
+ }
Review comment:
fixed
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]