From 21c97ef0eee8ba1cfeb37c4e90dbd89fe5ab265b Mon Sep 17 00:00:00 2001 From: Aikins Laryea Date: Sun, 4 Oct 2026 22:21:13 +0000 Subject: [PATCH] fix(vector): use owner-scoped transaction overloads for embedding scans --- vector/src/index/hnsw_graph.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vector/src/index/hnsw_graph.cpp b/vector/src/index/hnsw_graph.cpp index 19184150..430c7a1f 100644 --- a/vector/src/index/hnsw_graph.cpp +++ b/vector/src/index/hnsw_graph.cpp @@ -710,10 +710,10 @@ EmbeddingHandle OnDiskEmbeddings::getEmbedding(common::offset_t offset, scanState.nodeIDVector->state->getSelVectorUnsafe().setToUnfiltered(1); const auto source = scanState.source; const auto nodeGroupIdx = scanState.nodeGroupIdx; - if (transaction->isUnCommitted(nodeTable.getTableID(), offset)) { + if (transaction->isUnCommitted(nodeTable, offset)) { scanState.source = TableScanSource::UNCOMMITTED; scanState.nodeGroupIdx = StorageUtils::getNodeGroupIdx( - transaction->getLocalRowIdx(nodeTable.getTableID(), offset)); + transaction->getLocalRowIdx(nodeTable, offset)); } else { scanState.source = TableScanSource::COMMITTED; scanState.nodeGroupIdx = StorageUtils::getNodeGroupIdx(offset);