private void doRetryWait(int retryNum) {
    try {
      TimeUnit.MILLISECONDS.sleep(100L * (long) Math.pow(2, retryNum));
    } catch (InterruptedException e) {
      LOGGER.error("Retry wait failed.", e);
      Thread.currentThread().interrupt();
    }
  }
ConfigNode Leader stop any ConfigNode in the cluster.

@param configNodeLocation To be removed ConfigNode
@throws ClientManagerException removeConfigNode
@throws TException removeConfigNode
@throws InterruptedException removeConfigNode
@return SUCCESS_STATUS: remove ConfigNode success, other status remove failed
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/client/sync/SyncConfigNodeClientPool.java