public void removeRegionCache(TConsensusGroupId regionGroupId, int dataNodeId) {
    Optional.ofNullable(regionGroupCacheMap.get(regionGroupId))
        .ifPresent(cache -> cache.removeRegionCache(dataNodeId));
  }
Remove the cache of the specified Region in the specified RegionGroup.

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