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
apiVersionstringtelemetry.plural.sh/v1alpha1kindstringVectorTopologymetadataObjectMetaStandard 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.
generationintegerMinimum: 1next_shard_idintegerMinimum: 1shardsVectorShard array
VectorShard
Used by VectorTopologySpec
idintegerMinimum: 0statestringEnum: [active retired]rangeVectorNamespaceRangeownerstringOwner is the writer pod that owns the shard. Each writer owns one active shard.
split_tostringSplitTo is a writer pod without a shard that the owner is splitting this shard for: the writer takes the upper half of the range.
parentintegerParent is the shard this one was split from.
childreninteger arrayChildren 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.
startstringPattern:^[0-9a-f]{16}$endstringPattern:^[0-9a-f]{16}$