public void removeNodeCache(int nodeId) {
    loadCache.removeNodeCache(nodeId);
    loadCache.updateNodeStatistics(true);
    eventService.checkAndBroadcastNodeStatisticsChangeEventIfNecessary();
  }
Remove the NodeHeartbeatCache of the specified Node, update statistics and broadcast statistics
change event if necessary.

@param nodeId the index of the specified Node
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/load/LoadManager.java