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] CI BVT fulltext2_copy_alter misses expected rows #28985
The PR changes only optools race-UT scheduling and does not touch fulltext execution or this BVT case, so this is being tracked as a base/shared BVT regression.
Requested investigation
Reproduce the failure on the current base.
Check whether the copied/altered fulltext index or query result loses rows 100 and 101.
Add or update a focused regression test, then restore the BVT expectation.
A local one-CN rerun did not reach the reported missing-row assertion; it stopped earlier at ISCP executor ... did not become ready within 10s while preparing index_ftidx.
Therefore no new MatrixOne patch is justified yet. Keep this issue open for a valid multi-CN/CI reproduction rather than changing expectations or claiming the existing symptom is fixed.
部署方式:GitHub Actions multi CN e2e BVT Test on Linux/x64(COMPOSE, PESSIMISTIC)。
测试日期:2026-10-09
原问题验证
检查三条最近合入 main 的 PR CI 日志,确认 test/distributed/cases/pessimistic_transaction/fulltext2/fulltext2_copy_alter.sql实际执行,而不是被跳过或仅凭整套 CI 的绿色状态推断。该用例执行无关列 COPY ALTER、预热旧 base generation、插入 id 100/101、等待 CDC tail 和缓存刷新,并断言全文 MATCH('neutrino') 返回 100、101。
Activity
XuPeng-SH commentedon Sep 16, 2026
Root-cause tracking update:
mainalready contains the candidate fix from PR fix(fulltext2): rebuild + refresh cache so COPY ALTER leaves the index queryable (#28837) #28879 (d5c4e8b832), which adds the fulltext2 COPY ALTER rebuild/idle-cache handling.ISCP executor ... did not become ready within 10swhile preparingindex_ftidx.Therefore no new MatrixOne patch is justified yet. Keep this issue open for a valid multi-CN/CI reproduction rather than changing expectations or claiming the existing symptom is fixed.
test(fulltext2): skip flaky multi-CN fulltext2_copy_alter (#28985) (#…
fix(fulltext2): sys-admin mo_ctl knobs for the vector-index cache; un…
fix(fulltext2): address review — freshness-interval startup race, exa…
fix(fulltext2): review round 2 — interval floor, drop redundant handl…
fix(privilege): gate mo_ctl in every executable expression, not just …
test(fulltext2): skip flaky multi-CN fulltext2_copy_alter (matrixorig…
test(fulltext2): skip flaky multi-CN fulltext2_copy_alter (matrixorig…
fix(mo_ctl): close sys-admin gate bypasses for window exprs and prepa…
fix(mo_ctl): gate mo_ctl at its execution entry; wait for in-flight c…
4 remaining items
test(vectorindex): prove non-consumer-CN stale entry is cleared only …
fix(fulltext2): keep warm search cache across ordinary CDC flushes (#…
fix(vectorindex): make EvictKey follower waits honor the caller's con…
fix(queryservice): dispatch EvictVectorIndexCache off the connection …
Ariznawlll commentedon Sep 27, 2026
测试版本
5be6cd90b501da225be591ffffe6000bf01f515e16001与 CN216002原问题验证
按照
fulltext2_copy_alter.sql的docs_cdc路径执行 3 个独立数据库:建 FULLTEXT2、执行无关列 COPY ALTER、等待替换索引tag=0base、在 CN2 预热 base generation、插入 id 100/101,再等待隐藏索引cdc_tail的tag=1chunk_id 严格推进。最新 main 仍稳定复现新增行无法被 MATCH 查询的问题。Happy Path 覆盖
quantum行在 CN1、CN2 均稳定返回1,3,5。LIKE '%neutrino%'均返回100,101。Unhappy Path 覆盖
neutrino分别从 CN1、CN2 查询,3 轮均为空。白盒验证
故障发生时 base 和 CDC tail 都已持久化,旧 base 词仍可查询;缺失仅发生在 COPY ALTER 后追加进 tail 的新行。执行插入的 CN1 与预热的 CN2 同时缺行,不能只归因为远端 CN 的最终一致缓存窗口。
回归测试
当前仓库中的
test/distributed/cases/pessimistic_transaction/fulltext2/fulltext2_copy_alter.sql仍带-- @skip:issue#28985。本次结果说明该 skip 暂不能移除,也不能把空结果录入 MOTR 作为正确基线。测试证据
三轮结果完全一致:
LIKE(neutrino)=100,101MATCH(neutrino)@CN1=NULLMATCH(neutrino)@CN2=NULLMATCH(quantum)@CN1=1,3,5MATCH(quantum)@CN2=1,3,5测试结论
测试不通过。
test(upgrade): run COLUMNS view rollback tenant-upgrade txn as sys (m…
fix(fulltext2): sys-admin mo_ctl knobs for the vector-index cache; u…
Ariznawlll commentedon Oct 9, 2026
测试版本
main;本次核查的是近期合入 main 的 PR 检查,而非在最新 merge commit 上另行触发测试。2726fb419b3afa1db2686ae1b2aaca563d1ae214、fix(disttae): restore RC statement transfer state on rollback #29754aee2a0b3764781a8ca908618548dfef75e336263、test: cover TRUNCATE with DECIMAL input and runtime INT precision #29765b6fa8ccfc729105a31f61dbed0c97d7f21a2b86e。对应 CI 执行的是各 PR 的 head SHA,详见下表。multi CN e2e BVT Test on Linux/x64(COMPOSE, PESSIMISTIC)。原问题验证
检查三条最近合入 main 的 PR CI 日志,确认
test/distributed/cases/pessimistic_transaction/fulltext2/fulltext2_copy_alter.sql实际执行,而不是被跳过或仅凭整套 CI 的绿色状态推断。该用例执行无关列 COPY ALTER、预热旧 base generation、插入 id 100/101、等待 CDC tail 和缓存刷新,并断言全文MATCH('neutrino')返回 100、101。da90af8ff8c6451a4e2a551803807ff97800c7f0714811397f56c35e5974a80a5b590bb30f55c67b954fa8a0b4241a983c2a7f8117ecbe9f95f1bd8b三次均未再出现原报告的 id 100/101 缺失。最新合入的 #29472 对应检查在本次核查时仍运行中,未计入以上通过次数。
Happy Path 覆盖
quantum文档在 COPY ALTER 前后继续可检索;BVT 使用底表LIKE对照全文MATCH。tag=0base 与新增行的tag=1CDC tail 就绪后,缓存刷新收敛,MATCH('neutrino')返回 100、101。三次近期多 CN CI 均执行并通过。Unhappy Path 覆盖
白盒验证
本次未重新执行 Go UT;合入的 #29024 已包含周期性缓存刷新相关 UT。本次关闭依据是上述三次实际执行的多 CN BVT 日志,不把 UT 代替端到端结果。
回归测试
原 BVT 的
@skip:issue#28985已由 #29024 移除,现有用例覆盖此问题;本次无需再加重复的 MOTR。该用例验证的是缓存刷新后的最终收敛,不承诺默认配置下跨 CN 写入后立即可见。若以后要求立即可见,需要单独定义新契约和测试。测试证据
见上表三个 Actions job 的逐文件日志,均明确记录
fulltext2_copy_alter.sql的TOTAL:50, SUCCESS:50, FAILED:0, IGNORED:0;当前 BVT 文件 保留了 id 100/101 的结果断言。测试结论
测试通过。
feat(sql): add local sliding-window ranks mrank, cumrank, tmrank (#31020
docs(defect-hunt): record vector index cache eventual-consistency rul…