Skip to content

test(fulltext2): skip flaky multi-CN fulltext2_copy_alter (#28985) - #29010

Merged
XuPeng-SH merged 2 commits into
matrixorigin:mainfrom
cpegeric:bug_28985
Sep 16, 2026
Merged

XuPeng-SH merged 2 commits into
matrixorigin:mainfrom
cpegeric:bug_28985

Conversation

@cpegeric

Copy link
Copy Markdown
Contributor

What type of PR is this?

  • API-change
  • BUG
  • Improvement
  • Documentation
  • Feature
  • Test and CI
  • Code Refactoring

Which issue(s) this PR fixes:

issue #28985

What this PR does / why we need it:

The final section of fulltext2_copy_alter.sql asserts that a warm per-CN fulltext2 search cache reflects a subsequent CDC tail flush. Cross-CN cache refresh is EVENTUAL by design (the ~10m IsStale pull sweep; RemoveIdle evicts only the consumer CN -- see the won't-fix note in pkg/vectorindex/cache/cache.go), so a MATCH routed to a non-consumer CN drops the newly inserted rows and the case fails intermittently in the multi-CN EVT run, blocking unrelated PRs.

Mark the case with a file-level @Skip:issue#28985 to unblock CI without touching product code. Tracked in #28985; unskip once the case is made multi-CN- deterministic (first MATCH as a cold load after the tail settles) or scoped to single-CN.

…in#28985)

The final section of fulltext2_copy_alter.sql asserts that a warm per-CN
fulltext2 search cache reflects a subsequent CDC tail flush. Cross-CN cache
refresh is EVENTUAL by design (the ~10m IsStale pull sweep; RemoveIdle evicts
only the consumer CN -- see the won't-fix note in pkg/vectorindex/cache/cache.go),
so a MATCH routed to a non-consumer CN drops the newly inserted rows and the
case fails intermittently in the multi-CN EVT run, blocking unrelated PRs.

Mark the case with a file-level @Skip:issue#28985 to unblock CI without touching
product code. Tracked in matrixorigin#28985; unskip once the case is made multi-CN-
deterministic (first MATCH as a cold load after the tail settles) or scoped to
single-CN.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@mergify mergify Bot added the kind/bug Something isn't working label Sep 16, 2026
@matrix-meow matrix-meow added the size/XS Denotes a PR that changes [1, 9] lines label Sep 16, 2026

@XuPeng-SH XuPeng-SH left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Force deep review 结论(当前 head ba57db6):

-- @skip:issue#28985 的格式正确,README 也支持该文件级语法;但 skip scope 过大。

P2:fulltext2_copy_alter.sql:1 会跳过整个文件,包含 CREATE/MATCH controls、#28837 COPY ALTER recovery、replacement-base readiness、schema/result checks(约 lines 17-82)。已知 flaky 只涉及后面的 CDC-tail assertions(约 lines 84-100),整文件 skip 会连 single-CN 也一起掩盖无关回归。请保留前置覆盖,仅用成对 -- @bvt:issue#28985 / -- @bvt:issue 包住受影响 block,并把 teardown 放在 skip block 外;或拆成独立 case,同时提供 retained assertions 在 normal comparison 下实际执行的证据。

P3:lines 2-6 的说明需要限定。实现中约 10 分钟是 freshness sweep cadence,不是保证的 refresh deadline;RemoveIdle 只清理 idle entry,busy entry 可能继续存在。warm stale non-consumer cache 可以漏新行,但“路由到任意 non-consumer CN 就会丢行”过强,请改成条件描述并补 controlled multi-CN reproduction。

@XuPeng-SH
XuPeng-SH merged commit 7847126 into matrixorigin:main Sep 16, 2026
20 checks passed
VioletQwQ-0 pushed a commit to VioletQwQ-0/matrixone that referenced this pull request Sep 17, 2026
…in#28985) (matrixorigin#29010)

## What type of PR is this?

- [ ] API-change
- [x] BUG
- [ ] Improvement
- [ ] Documentation
- [ ] Feature
- [ ] Test and CI
- [ ] Code Refactoring

## Which issue(s) this PR fixes:

issue matrixorigin#28985

## What this PR does / why we need it:

The final section of fulltext2_copy_alter.sql asserts that a warm per-CN
fulltext2 search cache reflects a subsequent CDC tail flush. Cross-CN
cache refresh is EVENTUAL by design (the ~10m IsStale pull sweep;
RemoveIdle evicts only the consumer CN -- see the won't-fix note in
pkg/vectorindex/cache/cache.go), so a MATCH routed to a non-consumer CN
drops the newly inserted rows and the case fails intermittently in the
multi-CN EVT run, blocking unrelated PRs.

Mark the case with a file-level @Skip:issue#28985 to unblock CI without
touching product code. Tracked in matrixorigin#28985; unskip once the case is made
multi-CN- deterministic (first MATCH as a cold load after the tail
settles) or scoped to single-CN.

Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
VioletQwQ-0 pushed a commit to VioletQwQ-0/matrixone that referenced this pull request Sep 17, 2026
…in#28985) (matrixorigin#29010)

## What type of PR is this?

- [ ] API-change
- [x] BUG
- [ ] Improvement
- [ ] Documentation
- [ ] Feature
- [ ] Test and CI
- [ ] Code Refactoring

## Which issue(s) this PR fixes:

issue matrixorigin#28985

## What this PR does / why we need it:

The final section of fulltext2_copy_alter.sql asserts that a warm per-CN
fulltext2 search cache reflects a subsequent CDC tail flush. Cross-CN
cache refresh is EVENTUAL by design (the ~10m IsStale pull sweep;
RemoveIdle evicts only the consumer CN -- see the won't-fix note in
pkg/vectorindex/cache/cache.go), so a MATCH routed to a non-consumer CN
drops the newly inserted rows and the case fails intermittently in the
multi-CN EVT run, blocking unrelated PRs.

Mark the case with a file-level @Skip:issue#28985 to unblock CI without
touching product code. Tracked in matrixorigin#28985; unskip once the case is made
multi-CN- deterministic (first MATCH as a cold load after the tail
settles) or scoped to single-CN.

Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>

This branch was previously deployed

1 inactive deployment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bug Something isn't working size/XS Denotes a PR that changes [1, 9] lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants