default void transitReplicationPeerSyncReplicationState(String peerId, SyncReplicationState state)
    throws IOException {
    get(transitReplicationPeerSyncReplicationStateAsync(peerId, state), getSyncWaitTimeout(),
      TimeUnit.MILLISECONDS);
  }
Transit current cluster to a new state in a synchronous replication peer.
@param peerId a short name that identifies the peer
@param state  a new state of current cluster
@throws IOException if a remote or network exception occurs
hbase-client/src/main/java/org/apache/hadoop/hbase/client/Admin.java