Repository navigation
fix(view): align historical authorization and metadata compatibility - #32328
Conversation
Resolve subscription withdrawal and source-coherence defects, preserve qualified publisher View routing, separate snapshot metadata namespaces from caller authorization, and define consistent SHOW/DESC wire metadata for query and prepared paths. Refs matrixorigin#32259
…hots Resolve prepared historical dependencies directly at captured T, then retain the resolver current-publication authorization at A. Do not probe an unrelated current same-named alias before historical resolution. Cover current-alias replacement, denied replacement publications, historical withdrawal and regrant, binary and SQL cached EXECUTE, and fresh PREPARE controls. Refs matrixorigin#32259.
Assert SHOW/DESC client types per field while retaining quoted identifier and temporary table coverage. Initialize and own the cached subscription historical source so filtering out sibling subtests cannot change its data or schema. Validate normal and instrumented runs, standalone cached subtest repetition, the full public parent group with shuffle, and targeted race. Refs matrixorigin#32259.
|
mo-bot review · Commit: Review completed. Read the assessment. |
XuPeng-SH
left a comment
There was a problem hiding this comment.
mo-bot review · mo-bot-local · review
Commit: 6544a37a0b79a8947bf4a586decb3fa2efa03a4e
Assessment: approve
The prior F2 finding is resolved: historical metadata now uses the canonically admitted physical source owner. Shared admission and protocol owners preserve authorization and metadata consistency without new persistent state. No actionable findings remain.
Model: gpt-6.1-sol / max
Session: 01a1a004-90c3-73b1-acc9-3d4636452003 · slot 0 · generation 0
Validation:
-
Reviewed all 91 changed paths, four discussion entries and linked issue 32259; source unchanged.
-
Verified 29 Go files parse and are gofmt-clean; all 54 existing golden files change only 369 metadata headers.
-
Isolation preflight and six extracted-SQL SQLite source-resolution controls passed. Receipts and logs are reconciled in validation-evidence.json.
-
Frozen-head CI build, UT, coverage, SCA and enabled multi-CN BVT succeeded: 14 successful, 14 skipped and two neutral checks.
-
Assessed author-reported public SQL, JDBC, race, BVT and scoped release-compatibility results.
Limitations:
-
Local focused Go testing stopped before compilation because compatible native prerequisites were missing.
-
The relational probe is not a MatrixOne runtime reproduction; author execution logs were unavailable, and local JDBC/cluster/BVT checks were not repeated.
-
Parent production activation and the separate historical physical-source redesign remain outside this repair.
❌ Left the queue · checks failed2 h 12 min in the queue, with no time running CI. So far
The failure is in this pull request. It failed tested alone on top of Reason The merge conditions cannot be satisfied due to failing checks
To get back in the queue
Merge conditions not met when it left the queue
Requeue requested — the merge queue status continues in this comment ↓. 2 merge conditions met
Times in UTC · dashboard · how the merge queue works |
Keep each DROP DATABASE cleanup bounded by its existing 30-second guard instead of charging both operations against a shared deadline. Cancel each context before advancing and preserve error reporting and all DDL/SNAPSHOT/PITR assertions. Fix ordinary UT teardown failure in Actions run 42398556672. Refs matrixorigin#32259.
✅ Merged into
|
What type of PR is this?
Which issue(s) this PR fixes:
Fixes #32259
What this PR does / why we need it:
Validation:
6544a37a0bcovers all four metadata/authorization/header BVT cases: 204/204 × 2, including the extended subscription case 125/125 × 2, with zero residual test resources. All original 84 subscription checks and their golden output remain unchanged. Indexed-snapshot tests separately prove physical children exist but stay absent from I_S.The source-selection contract remains: historical alias → currently admitted source → that source's historical schema/data. This does not implement the separate historical-physical-source redesign or production activation. The full strict-metadata suite is not claimed green; unrelated existing golden discrepancies are not rewritten here.