Expand description
Conflict resolution for cross-DC vector index synchronisation.
When two datacenters each accept writes during a network partition they can accumulate divergent versions of the same index entry. This module provides strategies for reconciling those versions when connectivity is restored.
§Design
IndexVersioncarries a version number, timestamp and the actual vector data so the resolver can make a purely logical decision without touching the storage layer.ConflictResolveris stateless; callresolveany number of times.Resolutiondescribes what the caller should do with the two versions.
§Pure Rust Policy
No CUDA runtime calls or FFI.
Structs§
- Conflict
Resolver - Stateless conflict resolver.
- Index
Version - A versioned snapshot of a single vector entry.
- Merged
Index - A merged index entry produced when
ConflictPolicy::MergeUnionis applied.
Enums§
- Conflict
Policy - Strategy for resolving a write conflict between two index versions.
- Resolution
- The outcome of a conflict resolution operation.