public DataRegion getDataRegion(DataRegionId regionId) {
    return dataRegionMap.get(regionId);
  }
run the consumer if the region is present. if the region is absent, do nothing.

<p>we don't use computeIfPresent because we don't want to remove the region if the consumer
returns null, we just want to run the consumer in a synchronized way.

@return true if the region is present and the consumer is run. false if the region is absent.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/StorageEngine.java