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
[Subtask]: Define catalog metadata barrier wire and snapshot contract #29003
Define the greenfield catalog-metadata lifecycle contract on top of the current main persisted-expression admission protocol.
Deliverables:
A tracked design/RFC covering protocol floor, membership epoch, catalog generation, ownership, failure containment, and the complete state-transition table.
Additive protobuf messages/tags for catalog-metadata capabilities and barrier snapshots without reusing or changing existing persisted-expression fields.
A versioned snapshot envelope that supports legacy raw snapshots, the current persisted-expression snapshot, and the new combined snapshot.
Byte-level old/new wire and snapshot compatibility tests, including reused state machines and corrupt/truncated input.
All new runtime behavior remains disabled; this subtask must not change public SQL admission or start recovery workers.
Acceptance criteria:
Existing protobuf field meanings and tags remain unchanged.
Old binaries tolerate new fields and new binaries interpret missing fields fail-closed or disabled as documented.
Failed snapshot decoding does not partially mutate RSM state.
The exact design and wire checkpoint receives traceable design-owner approval before later activation work depends on it.
Describe implementation you've considered
Introduce a generic catalog-metadata capability/barrier message rather than adding more unrelated booleans to the existing View-named admission payload. Keep persisted-expression protocol floor, membership generation, and metadata recovery generation as separate dimensions.
Additional information
This is phase 1 of the #26227 implementation series. It must merge before the HAKeeper barrier subtask starts formal review.
Activity
docs: define catalog metadata barrier wire contract (#29008)
feat: add catalog metadata barrier wire contract (#29022)
docs: define catalog metadata barrier wire contract (matrixorigin#29008)
feat: add catalog metadata barrier wire contract (matrixorigin#29022)
docs: define catalog metadata barrier wire contract (matrixorigin#29008)
feat: add catalog metadata barrier wire contract (matrixorigin#29022)