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/10/20 07:59:57 UTC

[GitHub] [iotdb] CRZbulabula commented on a diff in pull request #7642: [IOTDB-4685] Consensus heartbeat statistics

CRZbulabula commented on code in PR #7642:
URL: https://github.com/apache/iotdb/pull/7642#discussion_r1000274840


##########
confignode/src/main/java/org/apache/iotdb/confignode/manager/load/LoadManager.java:
##########
@@ -274,6 +253,15 @@ public static void printRegionRouteMap(
     }
   }
 
+  /**
+   * Recover the cluster heartbeat cache through loadStatistics when the ConfigNode-Leader is
+   * switched
+   */
+  public void recoverHeartbeatCache() {
+    getNodeManager().recoverNodeCacheMap();

Review Comment:
   Added



-- 
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