public void addConfigNodePeer(TConfigNodeLocation configNodeLocation) throws AddPeerException {
    try {
      consensusImpl.addRemotePeer(
          DEFAULT_CONSENSUS_GROUP_ID,
          new Peer(
              DEFAULT_CONSENSUS_GROUP_ID,
              configNodeLocation.getConfigNodeId(),
              configNodeLocation.getConsensusEndPoint()));
    } catch (ConsensusException e) {
      throw new AddPeerException(configNodeLocation);
    }
  }
Add a new ConfigNode Peer into ConfigRegion.

@param configNodeLocation The new ConfigNode
@throws AddPeerException When addPeer doesn't success
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/consensus/ConsensusManager.java