@Override
    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        } else if (obj == null || getClass() != obj.getClass()) {
            return false;
        }

        ClickHouseNode other = (ClickHouseNode) obj;
        return host.equals(other.host) && port == other.port && protocol == other.protocol
                && Objects.equals(credentials, other.credentials) && options.equals(other.options)
                && tags.equals(other.tags) && cluster.equals(other.cluster) && replicaNum == other.replicaNum
                && shardNum == other.shardNum && shardWeight == other.shardWeight && weight == other.weight;
    }
Updates status of the node. This will only work when the node is
managed({@link #isManaged()} returns {@code true}).

@param status non-null node status
clickhouse-client/src/main/java/com/clickhouse/client/ClickHouseNode.java