/** Returns the serialized form of this cluster state */ // TODO: Don't rely on toString for that @Override public String toString() { return toString(false); }
Reply reply = new WrongDistributionReply(cachedClusterState.toString(true)); reply.addError(new Error(DocumentProtocol.ERROR_WRONG_DISTRIBUTION, "Too few distribution bits used for given cluster state"));