Skip to content

fix(frontend): preserve subscription catalog lookup errors - #31282

Closed
ck89119 wants to merge 1 commit into
matrixorigin:mainfrom
ck89119:issue-29440-followup-main
Closed

ck89119 wants to merge 1 commit into
matrixorigin:mainfrom
ck89119:issue-29440-followup-main

Conversation

@ck89119

@ck89119 ck89119 commented Oct 26, 2026

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:

Related to #29440

What this PR does / why we need it:

Preserve storage, RPC, timeout, and cancellation errors from getSubscriptionMeta instead of rewriting them as NoDB. Failed catalog lookups must not masquerade as missing dependencies or skippable invalid View definitions. Confirmed ErrBadDB and silent ExpectedEOB behavior remain compatible.

  • Cover current/historical root and dependency lookup failures, repeated reads, same-request recovery, and resource ownership.
  • Extend native publication table-list withdrawal/recovery checks for single-object metadata, DESC, and I_S, with memo enabled and disabled.
  • Update the maintained S5 conformance document to distinguish these local fixes from the remaining acceptance gates.

Validation: pre-fix regressions reproduced; full frontend integration suite passed on Go 1.27.1/darwin-arm64 (40.58s), including native catalog/subscription/two-CN cases. Incremental lint reported zero issues. The CI coverage script reports 3/3 changed production blocks covered (100%).

This is a partial S5 follow-up, not full S5 acceptance. #29440 remains open: complete B-candidate production wiring and activation design, plus real L/A/B version-transition evidence, are still outstanding. Default activation is unchanged; S8 remains NO-GO.

Preserve storage, RPC, timeout, and cancellation errors instead of masking them as absent databases. Retain confirmed missing-database compatibility.

Cover current and historical derivation failures, same-request recovery, and native publication table-list withdrawal and recovery. This is partial S5 work, not activation or full acceptance.

Related to matrixorigin#29440
@mergify mergify Bot added the kind/bug Something isn't working label Oct 26, 2026
@matrix-meow matrix-meow added the size/M Denotes a PR that changes [100,499] lines label Oct 26, 2026
@mergify mergify Bot added the kind/test-ci label Oct 26, 2026
@ck89119 ck89119 closed this Oct 28, 2026
@ck89119
ck89119 deleted the issue-29440-followup-main branch October 28, 2026 10:26
mergify Bot pushed a commit that referenced this pull request Oct 28, 2026
Replace the abandoned #31282 implementation approach with a fresh, design-only proposal based on current `main`, including the consolidated catalog 4.0.7 upgrade contract. No old implementation commits or local follow-up patches are carried over.

[Read the design](https://github.com/ck89119/matrixone/blob/5d6f06937ea35a18b105ede4709f6d7250b2ae90/docs/design/CLAUDE_20261028-view-metadata-redesign.md).

Key decisions proposed for review:
- One read-only inference authority, with separate data and authorization snapshots, surface-specific admission, bounded request ownership, and complete query/metadata/reuse/cursor coverage.
- A default-off account property and an explicit administrative activation transaction, separate from catalog upgrade progress. Existing shutdown-upgrade and startup fences stay intact.
- Statement-frozen semantics: already-admitted compatible statements may finish after activation. This deliberately replaces the previous qualification/drain contract; it does not add a feature MORPC gate or a new HAKeeper protocol.
- Explicit raw-catalog, legacy-definition, restore, failure, resource, performance, and acceptance contracts.

Validation: documentation checks, all 17 local links, UTF-8/LF, and `git diff --check` passed; the 20 change-scope tests passed and the single-file diff is classified as documentation. No kernel, upgrade, benchmark, or S5 completion evidence is claimed.

This draft requests a new design review. It does not approve implementation or activate the feature.

Approved by: @XuPeng-SH

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

do-not-merge/wip kind/bug Something isn't working kind/test-ci size/M Denotes a PR that changes [100,499] lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants