private NodeManager getNodeManager() {
    return configManager.getNodeManager();
  }
Confirm the current ConfigNode's leadership.

@return SUCCESS_STATUS if the current ConfigNode is leader and has been ready yet,
    NEED_REDIRECTION otherwise
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/consensus/ConsensusManager.java