public void removeRegionGroupRelatedCache(TConsensusGroupId consensusGroupId) {
    loadCache.removeRegionGroupCache(consensusGroupId);
    routeBalancer.removeRegionPriority(consensusGroupId);
    loadCache.updateRegionGroupStatistics();
    loadCache.updateConsensusGroupStatistics();
    eventService.checkAndBroadcastRegionGroupStatisticsChangeEventIfNecessary();
    eventService.checkAndBroadcastConsensusGroupStatisticsChangeEventIfNecessary();
  }
Remove the specified RegionGroup's related cache, update statistics and broadcast statistics
change event if necessary.

@param consensusGroupId The specified RegionGroup
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/load/LoadManager.java