Tags: antgroup/vsag
Tags
fix: make filtered graph search deterministic (#2057) * fix: make filtered graph search deterministic Signed-off-by: Xiangyu Wang <wxy407827@antgroup.com> * fix: address filter skip strategy review comments Signed-off-by: Xiangyu Wang <wxy407827@antgroup.com> --------- Signed-off-by: Xiangyu Wang <wxy407827@antgroup.com>
fix: make filtered graph search deterministic (#2009) * fix: make filtered graph search deterministic Signed-off-by: Xiangyu Wang <wxy407827@antgroup.com> * fix: address filtered skip strategy review feedback Signed-off-by: Xiangyu Wang <wxy407827@antgroup.com> --------- Signed-off-by: Xiangyu Wang <wxy407827@antgroup.com>
fix(hnsw): synchronize parallel add graph updates (#1873) Prevent concurrent inserts from dropping neighbor updates by making neighbor-side read-modify-write atomic, keep new points invisible until linking completes, and align lock ordering to remove the TSAN-reported inversion. (cherry picked from commit 7b89a7a) Signed-off-by: jinjiabao.jjb <jinjiabao.jjb@antgroup.com> Co-authored-by: jinjiabao.jjb <jinjiabao.jjb@antgroup.com>
fix: propagate iterator filter init failures in hnsw (#1845) * fix: propagate iterator filter init failures in hnsw Signed-off-by: Xiangyu Wang <wxy407827@antgroup.com> * test: harden iterator filter init regression Signed-off-by: Xiangyu Wang <wxy407827@antgroup.com> --------- Signed-off-by: Xiangyu Wang <wxy407827@antgroup.com>
fix(hnsw): synchronize parallel add graph updates (#1807) Prevent concurrent inserts from dropping neighbor updates by making neighbor-side read-modify-write atomic, keep new points invisible until linking completes, and align lock ordering to remove the TSAN-reported inversion. (cherry picked from commit 7b89a7a) Signed-off-by: jinjiabao.jjb <jinjiabao.jjb@antgroup.com>
fix: make VsagException public inherit from std::exception (#1789) * fix(resize): ensure size is updated after successful expansion Move max_capacity_ update to after all expansion operations complete. This prevents inconsistent state where size is updated but memory allocation failed in subsequent resize operations. Fixes resize ordering in: - HGraph::resize - GraphDataCell::Resize - FlattenDataCell::Resize - ExtraInfoDataCell::Resize - SparseVectorDataCell::Resize Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: jinjiabao.jjb <jinjiabao.jjb@antgroup.com> * fix: make VsagException public inherit from std::exception (#1776) The class was using private inheritance which prevented catching VsagException with std::exception handler, breaking standard C++ exception handling patterns. Signed-off-by: jinjiabao.jjb <jinjiabao.jjb@antgroup.com> --------- Signed-off-by: jinjiabao.jjb <jinjiabao.jjb@antgroup.com> Co-authored-by: Claude <noreply@anthropic.com>
refactor(hnsw,io): correct error type for memory allocation on 0.18 (#… …1748) Replace std::runtime_error with VsagException(ErrorType::NO_ENOUGH_MEMORY) for memory allocation failures in HNSW algorithm and MemoryBlockIO. Cherry-picked from PR #1658 to 0.18 branch. Signed-off-by: jinjiabao.jjb <jinjiabao.jjb@antgroup.com> Co-authored-by: Claude <noreply@anthropic.com>
PreviousNext