Class ClusterCapacityExceededException

All Implemented Interfaces:
LoggableKeysAndValues<LoggableException>, Serializable

public class ClusterCapacityExceededException extends LoggableException
Thrown by an insert when a primary cluster reaches its configured hard cap (primaryClusterHardMax) while the write path is not draining deferred maintenance tasks in the writing transaction. It signals back-pressure: inserts have outrun the deferred split backlog, so the caller should slow down until the background merge catches up rather than letting the cluster grow without bound.

This lives in the extensions layer (which cannot reference the record layer's RecordCoreException); the vector index engine translates it into a record-layer exception for callers.

See Also:
  • Constructor Details

    • ClusterCapacityExceededException

      public ClusterCapacityExceededException(@Nonnull UUID clusterId, int numPrimaryVectors, int primaryClusterHardMax)