Skip to content

[Subtask]: C11 — Gate rollout and preserve legacy data through migration and recovery #29490

Open

Description

@ck89119

Parent Issue

#29479 — C11

Detail of Subtask

Prevent old nodes from reading/writing unknown formats and prevent silent reinterpretation of persisted data.

Scope

  • Design the admission owner alongside C01; preserve semantic/physical versions through catalog, pipelines, restart, snapshots, clone, backup/restore and replication.
  • Support explicit validated copy/rebuild migration, collision handling and a documented rollback/downgrade route.
  • Separate legacy metadata recovery from rejection of new latin1 declarations.

Acceptance criteria

  • Old formats/aliases retain prior semantics; migration collisions preserve the source without automatic merge/deletion.
  • Mixed-version create, remote execution, restore and writes are rejected where compatibility cannot be guaranteed.
  • Writer fencing/draining, cancellation, coordinator failure, retry and uncertain commit use existing DDL recovery ownership.
  • If safe online migration cannot be proved, expose only a validated copy/reload route.
  • Disabling a switch cannot reinterpret already-written keys; tenant isolation remains intact and historical latin1 encoding is not guessed.

Describe implementation you've considered

Reuse enforceable cluster capability/upgrade ownership; require homogeneous upgrade if mixed-version protection cannot be proved. No old-node-ignored table flag may serve as the gate. Design starts with C01; completion gates each applicable release batch.

Additional information

  • Prerequisites: See the coordination/release-gate notes below; work can start with C01.
  • Existing implementation references: No dedicated implementation PR is claimed.
  • Native SQL activation also requires the applicable C11 upgrade and C12 release gates.
  • Shared scope: five charset families and twelve canonical collations; latin1/latin1_* are explicitly unsupported for new requests.
  • Exclusions: partition tables, stored procedures, UDFs, warning count/text compatibility, utf16/utf32/gb18030 and other unlisted collations.
  • Existing product defaults are not changed incidentally. Preserve legacy objects; do not use accepted DDL or a backend-only test as end-to-end evidence.
  • This issue does not itself approve a production design, an open PR, or unverified CI evidence.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions