public void removeRegionCache(TConsensusGroupId regionGroupId, int dataNodeId) {
    loadCache.removeRegionCache(regionGroupId, dataNodeId);
    loadCache.updateRegionGroupStatistics();
    eventService.checkAndBroadcastRegionGroupStatisticsChangeEventIfNecessary();
  }
Remove the cache of the specified Region in the specified RegionGroup, update statistics and
broadcast statistics change event if necessary.

@param regionGroupId the specified RegionGroup
@param dataNodeId the specified DataNode
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/load/LoadManager.java