@Override
  protected Set<String> getPathsToWatch() {
    return IntStream.range(0, metaReplicaCount)
      .mapToObj(watcher.getZNodePaths()::getZNodeForReplica).collect(Collectors.toSet());
  }
Tracks the meta region locations on server ZK cluster and synchronize them to client ZK cluster
if changed
hbase-server/src/main/java/org/apache/hadoop/hbase/master/zksyncer/MetaLocationSyncer.java