public SessionConnection constructSessionConnection(
      Session session, TEndPoint endpoint, ZoneId zoneId) throws IoTDBConnectionException {
    if (endpoint == null) {
      return new SessionConnection(
          session, zoneId, availableNodes, maxRetryCount, retryIntervalInMs, sqlDialect, database);
    }
    return new SessionConnection(
        session,
        endpoint,
        zoneId,
        availableNodes,
        maxRetryCount,
        retryIntervalInMs,
        sqlDialect,
        database);
  }
Multiple nodeUrl,If one node down, connect to the next one

@param nodeUrls List<String> Multiple ip:rpcPort eg.127.0.0.1:9001
iotdb-client/session/src/main/java/org/apache/iotdb/session/Session.java