public Map<TConsensusGroupId, Integer> getRegionLeaderMap() {
    return loadCache.getRegionLeaderMap();
  }
Get the latest RegionLeaderMap.

@return Map<RegionGroupId, leaderId>
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/load/LoadManager.java