Skip to content

docs: clarify FULLTEXT2 CDC cache refresh acceptance - #33589

Merged
mergify[bot] merged 5 commits into
matrixorigin:mainfrom
VioletQwQ-0:codex/issue-28005-cache-contract
Dec 1, 2026
Merged

mergify[bot] merged 5 commits into
matrixorigin:mainfrom
VioletQwQ-0:codex/issue-28005-cache-contract

Conversation

@VioletQwQ-0

@VioletQwQ-0 VioletQwQ-0 commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

What type of PR is this?

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

Which issue(s) this PR fixes:

issue #28005

What this PR does / why we need it:

Document the idle-cache refresh implemented by #30606 and the effect of the MATCH transaction read point on reload. Issue #28005 still requires strict cache retention across CDC commits. Its QA result remains a failure against that requirement, and the product decision must account for the visibility requested in #30401. The matrix records evidence needed for either decision and keeps historical strict-retention results tied to their original build.

QA required: yes

The deployment matrix covers exact MATCH IDs across read points and CNs, durable tail and watermark outcomes for empty batches and rollback/retry, and resource release during ordinary eviction, MERGE, REBUILD, graceful shutdown, cancellation, and partial load failure. It distinguishes per-generation mappings and file holds from shared index-file cache entries retained under their own policy. The Linux failed-load mmap test and deployment QA remain pending for this revision.

Validation

  • Documentation whitespace check and mo-pipe preflight passed locally for cfa32b10a2ce66a055c3e3cbb80f790f08b967b8 against 275030e3c51a83962786f5a4317934a9ec2c3212 after synchronizing with main. The complete PR patch is byte-for-byte identical to the patch reviewed at bfc477a0618f764f568bfba0ca4a778b88ea245b.
  • BVT: N/A for the Markdown-only change. Component tests and deployment QA were not run for this revision.

@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/documentation Improvements or additions to documentation label Dec 1, 2026
@mergify

mergify Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Queue requested — the merge queue status continues in this comment ↓.

@matrix-meow matrix-meow added the size/XS Denotes a PR that changes [1, 9] lines label Dec 1, 2026
@XuPeng-SH

XuPeng-SH commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

mo-bot review · mo-bot-local · done

Commit: 6021b05a4dbb39b3979170c304915c8960fb9f3b

Review completed. Read the assessment.

@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.

mo-bot review · mo-bot-local · review

Commit: 6021b05a4dbb39b3979170c304915c8960fb9f3b

Assessment: request_changes

The document accurately describes the current idle-eviction path, but it presents that behavior as superseding an unresolved requirement in issue #28005 and omits some still-required lifecycle checks from the current acceptance matrix.

Model: gpt-6.1-terra / max

Session: 01a22aff-bb68-7e31-ae71-ee4ab48ad9d0 · slot 0 · generation 45

  • P2 docs/issue-plans/FULLTEXT2_28005_CACHE_TEST_MATRIX.md:45: QA uses this matrix to assess issue #28005 after a non-empty CDC flush evicts an idle cache entry.
    Impact: The matrix can treat idle eviction as accepted while the linked issue still requires CDC not to evict the cache. Its latest QA discussion explicitly asks development to resolve the conflict between that requirement and reader-safe idle refresh.
    Evidence: The current consumer calls EvictIdleCache after a successful non-empty flush, so the document describes observed behavior. Neither the supplied issue discussion nor the PR discussion records a decision superseding the issue's strict-retention requirement. Reconcile the acceptance contract in the plan or cite the recorded product decision that changes it; until then, distinguish the implemented behavior from the unresolved requirement.

  • P2 docs/issue-plans/FULLTEXT2_28005_CACHE_TEST_MATRIX.md:36: QA completes the current lifecycle row by checking query recovery and resource release after cancellation and load failure.
    Impact: The current matrix does not require checking resource release after ordinary eviction, MERGE, REBUILD, or shutdown, so those scenarios could pass while retaining mappings or owned file resources.
    Evidence: Issue #28005 requires deterministic mmap and temporary-file cleanup across those lifecycle transitions independently of the CDC eviction choice. Fulltext2Search.Destroy and Segment.Free own the corresponding release path, while the previous explicit Linux mmap-failure check is now under historical tests. Keep the applicable cleanup oracles and pending evidence in the current matrix, accounting for the intended lifetime of shared file-cache entries.

Validation:

  • Reviewed the complete Markdown delta, linked issue and comments, and the CDC, cache, transaction, and cleanup owners.

  • git diff --check passed for the assigned base and head; receipt checks/1796115431360045405-3.json.

  • The frozen CI snapshot reports successful documentation whitespace and required checks; product test jobs were skipped.

Limitations:

  • No component or deployment tests were run for this documentation-only change. The document identifies deployment QA as pending.

@XuPeng-SH

XuPeng-SH commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

mo-bot review · mo-bot-local · done

Commit: bfc477a0618f764f568bfba0ca4a778b88ea245b

Review completed. Read the assessment.

@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.

mo-bot review · mo-bot-local · review

Commit: bfc477a0618f764f568bfba0ca4a778b88ea245b

Assessment: approve

The revised matrix resolves both prior review concerns. It distinguishes the existing strict-retention requirement from the pending product decision and restores lifecycle resource-cleanup checks. The documentation describes current behavior without changing product code or treating pending QA as passed.

Model: gpt-6.1-terra / max

Session: 01a22af4-cf2a-7f70-88e4-931bbf57d739 · slot 2 · generation 14

Validation:

  • Reviewed the complete Markdown change, linked issue discussions, and the CDC, cache, transaction and cleanup owners.

  • The bounded git diff --check passed; receipt checks/1796117551175774203-3.json and its logs are retained in the diagnostic directory.

  • The frozen CI snapshot reports successful documentation whitespace and required checks; product test jobs were skipped.

Limitations:

  • No Go tests or deployment QA were run for this documentation-only change. The product decision and deployment checks for issue #28005 remain pending.

@mergify mergify Bot added the queued label Dec 1, 2026
@mergify

mergify Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

🚫 Left the queue · pull request branch update failed

1 min in the queue, with no time running CI.

So far

  • ✅ Entered the queue Tue 1 Dec, 09:34 · rule main · triggered by rule Automatic queue on approval for main
  • 🚫 Left the queue 09:35 · bfc477a

Reason

The pull request can't be updated

GitHub response: refusing to allow a GitHub App to create or update workflow .github/workflows/coverage-identity-contract.yml without workflows permission
GitHub only lets Mergify write to .github/workflows/ with the workflows permission. An organization owner can accept Mergify's pending permissions at https://dashboard.mergify.com/orgs/matrixorigin/repositories.

To get back in the queue

  • Update or rebase the branch yourself: the pull request is queued again once its queue conditions match.
  • If the failure is a flake, tick the box below to queue it again as it is.

Requeue requested — the merge queue status continues in this comment ↓.

Times in UTC · dashboard · how the merge queue works

@mergify mergify Bot added dequeued and removed queued labels Dec 1, 2026
@mergify

mergify Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

✅ Merged into main as 9081d1c at 09:50 UTC

Less than a minute in the queue, with no time running CI.

So far

  • ✅ Entered the queue Tue 1 Dec, 09:50 · rule main · triggered by rule Automatic queue on approval for main
  • ✅ Checks skipped · PR is already up-to-date
  • ✅ Merged 09:50 · 9081d1c · squash
3 merge conditions met
  • #review-threads-unresolved = 0 · required by GitHub branch protection
  • github-review-approved · required by GitHub branch protection
  • any of · required by GitHub branch protection:
    • check-success = CI Required
    • check-neutral = CI Required
    • check-skipped = CI Required

Times in UTC · dashboard · how the merge queue works

@mergify
mergify Bot merged commit 9081d1c into matrixorigin:main Dec 1, 2026
21 checks passed
@mergify mergify Bot removed the queued label Dec 1, 2026

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/documentation Improvements or additions to documentation 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