ShardUnavailable

class ShardUnavailable(val collection: String? = null, serverMessage: String? = null) : KdrantException

The request needed a shard whose replicas are not available at the consistency it asked for.

Distinct from ServiceUnavailable, which is the whole node saying "not now", and from CollectionNotFound, which is the collection not existing. Here the collection exists and part of it is unreachable, so the answer would be incomplete rather than absent — which is why Qdrant refuses instead of returning a partial result, and why lowering the read consistency can make the same request succeed.

Constructors

Link copied to clipboard
constructor(collection: String? = null, serverMessage: String? = null)

Properties

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard

the collection whose shard was unavailable, when the request named one.

Link copied to clipboard
expect open val message: String?
Link copied to clipboard
open override val retryable: Boolean

Whether the identical request could succeed later without being changed.