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
[Bug]: bvt test failed with inconsistent result of async index update tasks #22794
Activity
skip bvt issue matrixorigin#22794
Fix bvt test for async index update (#22796)
cpegeric commentedon Nov 12, 2025
please verify and close
matrix-meow commentedon Nov 12, 2025
Hello @cpegeric. The bug issue in the BVT test code has not been removed,issues automatically open.
Ariznawlll commentedon Feb 5, 2026
repro again:
job: https://github.com/matrixorigin/matrixone/actions/runs/21669906268/job/62474945567?pr=23672
Compose-multi-cn-e2e-bvt-test-docker-log(PESSIMISTIC).zip
Fix bvt test for async index update (matrixorigin#22796)
Ariznawlll commentedon Aug 26, 2026
测试版本
test/gojieba-bvt-coverage78214d9c017fb437856cab8639925e8167818e49原问题验证
本问题在 PR #25897 的 Multi-CN BVT 中再次复现。失败用例为
test/distributed/cases/pessimistic_transaction/vector/vector_hnsw_async.sql第 133 行:第一批 10,000 行 HNSW model ready 后,再并行 LOAD 第二批 10,000 行;metadata checksum 已发生变化,但黑盒 endpoint 查询连续等待 120 秒仍未返回第二批数据中的精确近邻。Happy Path 覆盖
Unhappy Path 覆盖
@wait_expect(2, 120)连续轮询 endpoint 结果,120 秒内始终不正确。f32-delta-first=10000、f32-delta-last=19999。f32-delta-first=9691、f32-delta-last=2638;两个结果均来自第一批 10,000 行,表明第二批 CDC delta 未被当前 HNSW 搜索模型正确检索,或查询持续使用旧模型。total=78, success=77, failed=1,耗时168.308s。白盒验证
本次为 CI 黑盒复现,未增加白盒 fault injection。现象将问题范围收敛到异步 HNSW 增量 generation 的完整性或模型刷新路径。
回归测试
test/distributed/cases/pessimistic_transaction/vector/vector_hnsw_async.sqlvector_hnsw_async.sql中期望 endpoint19999、实际返回旧近邻的失败。测试证据
测试结论
测试不通过。
test: avoid stale HNSW cache in multi-CN BVT (#27631)
test: avoid stale HNSW cache in multi-CN BVT (matrixorigin#27631)
test: avoid stale HNSW cache in multi-CN BVT (matrixorigin#27631)
test: avoid stale HNSW cache in multi-CN BVT (matrixorigin#27631)
Revert "fix(sql): return mathematical dot product from INNER_PRODUCT" (…