public void forceUpdateConsensusGroupCache(
      Map<TConsensusGroupId, ConsensusGroupHeartbeatSample> heartbeatSampleMap) {
    heartbeatSampleMap.forEach(loadCache::cacheConsensusSample);
    loadCache.updateConsensusGroupStatistics();
    eventService.checkAndBroadcastConsensusGroupStatisticsChangeEventIfNecessary();
  }
Force update the specified ConsensusGroups' cache.

@param heartbeatSampleMap Map<RegionGroupId, ConsensusGroupHeartbeatSample>
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/load/LoadManager.java