VectorTopology

VectorTopology is the shard layout of a Vector database. The operator and the database's writers maintain it, so it is not meant to be edited.

API version
telemetry.plural.sh/v1alpha1
Kind
VectorTopology
Scope
Namespaced
Short names
vtop

VectorTopology

  • apiVersionstring

    telemetry.plural.sh/v1alpha1

  • kindstring

    VectorTopology

  • metadataObjectMeta

    Standard object metadata. See the Kubernetes API reference for its fields.

VectorTopologySpec

Used by VectorTopology

VectorTopologySpec is the authoritative shard layout of a Vector cluster. The elected writer and the writer splitting a shard change it with resourceVersion-based compare-and-swap; every replica follows it by watch.

  • generationinteger
    Minimum: 1
  • next_shard_idinteger
    Minimum: 1
  • shardsVectorShard array

VectorShard

Used by VectorTopologySpec

  • idinteger
    Minimum: 0
  • statestring
    Enum: [active retired]
  • ownerstring

    Owner is the writer pod that owns the shard. Each writer owns one active shard.

  • split_tostring

    SplitTo is a writer pod without a shard that the owner is splitting this shard for: the writer takes the upper half of the range.

  • parentinteger

    Parent is the shard this one was split from.

  • childreninteger array

    Children are the shards this one was split into.

  • created_at_msinteger

VectorNamespaceRange

Used by VectorShard

VectorNamespaceRange is the namespace ids [start, end) a shard holds, as 16 hex digits. An absent end extends to the end of the id space.

  • startstring
    Pattern: ^[0-9a-f]{16}$
  • endstring
    Pattern: ^[0-9a-f]{16}$