@Override
    public boolean equals(Object o) {
        if (!(o instanceof ClusterState other)) { return false; }
        if (version != other.version
            || !state.equals(other.state)
            || distributionBits != other.distributionBits
            || !distributorNodes.equals(other.distributorNodes)
            || !storageNodes.equals(other.storageNodes))
        {
            return false;
        }
        return true;
    }
Parse a given cluster state string into a returned ClusterState instance, wrapping any
parse exceptions in a RuntimeException.
vdslib/src/main/java/com/yahoo/vdslib/state/ClusterState.java