public RegionStatus getRegionStatus(TConsensusGroupId consensusGroupId, int dataNodeId) {
    return loadCache.getRegionStatus(consensusGroupId, dataNodeId);
  }
Safely get RegionStatus.

@param consensusGroupId Specified RegionGroupId
@param dataNodeId Specified RegionReplicaId
@return Corresponding RegionStatus if cache exists, Unknown otherwise
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/load/LoadManager.java