You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Test an LSM_VECTOR index sized on its first vector under HA and with PRODUCT quantization #10993
haHigh availability / replication (Raft)severity:minorCosmetic, documentation, edge case, or a workaround existsvectorVector index and embedding search
An LSM_VECTOR index created with sizeOnFirstVector (openCypher CREATE VECTOR INDEX without vector.dimensions over a property that holds no vector yet) fixes its dimension on the first put. Two paths are covered only in-process and not on a real cluster or end to end:
HA: the leader marks the schema dirty and saves it at the commit; a follower learns the size from the schema the leader ships or, failing that, by LSMVectorIndex.deriveDimensionsFromData before its first search or graph build. Needs an HA test: create the index on the leader, write the first vector through the leader and through a follower, check every node's getDimensions(), search on a follower, and a failover.
quantization: 'PRODUCT' over such an index: pqSubspaces is computed at graph build from the decided dimension; no test builds a PQ graph over an index sized this way.
Fixed in #11139. Added the HA, failover and PRODUCT-quantization tests the issue asked for. The HA test found a real defect: a follower never learned the size an index took from its first vector, so a follower promoted by failover could accept a vector of another length and size the index twice. put now derives the size from the vectors the node already holds first.
Still open:#11141 (putBatch still sizes from its own batch without deriving first; it is commit replay and index build, which hold the data being sized from).
❤️ Thanks for helping make ArcadeDB better! ArcadeDB is free and open source, sustained by its community. If it's useful to you or your company, please consider becoming a sponsor to keep development going.
haHigh availability / replication (Raft)severity:minorCosmetic, documentation, edge case, or a workaround existsvectorVector index and embedding search
Activity
test(#10993): LSM_VECTOR index sized on its first vector under HA and…
robfrank commentedon Nov 2, 2026
Fixed in #11139. Added the HA, failover and PRODUCT-quantization tests the issue asked for. The HA test found a real defect: a follower never learned the size an index took from its first vector, so a follower promoted by failover could accept a vector of another length and size the index twice.
putnow derives the size from the vectors the node already holds first.Still open: #11141 (
putBatchstill sizes from its own batch without deriving first; it is commit replay and index build, which hold the data being sized from).❤️ Thanks for helping make ArcadeDB better! ArcadeDB is free and open source, sustained by its community. If it's useful to you or your company, please consider becoming a sponsor to keep development going.
test(#10993): LSM_VECTOR index sized on its first vector under HA and…