@Override
  protected void updateLastPushedSequenceIdForSerialPeer(MasterProcedureEnv env)
    throws IOException, ReplicationException {
    setLastPushedSequenceId(env, peerConfig);
  }
The procedure for adding a new replication peer.
hbase-server/src/main/java/org/apache/hadoop/hbase/master/replication/AddPeerProcedure.java