Skip to content

doc: design for the cluster-controller legacy removal (reference only, do not merge) - #38446

Closed
aljoscha wants to merge 1 commit into
mainfrom
aljoscha/cluster-legacy-08-design
Closed

doc: design for the cluster-controller legacy removal (reference only, do not merge)#38446
aljoscha wants to merge 1 commit into
mainfrom
aljoscha/cluster-legacy-08-design

Conversation

@aljoscha

@aljoscha aljoscha commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Reference only. Not intended to merge. This documents the final behavior and
the rejected alternatives for the cluster-controller legacy-removal stack.

The design records the parts that are easy to rediscover incorrectly:

  • why catalog-open builtin reconciliation and the runtime controller converge
    rather than compete
  • why controller correctness fixes apply to the path already live in production
    and are separate from deleting unreachable legacy code
  • why the sequencer cannot safely reproduce the controller's strategy union for
    either replica reconciliation or transient resource prediction
  • why a forced cut-over waits for the concrete target set to exist, swaps the
    physical replica set drop-before-create, and does not wait for hydration
  • how resource exhaustion becomes a retained resource-exhausted status and
    audit event while the realized set keeps serving
  • why create-time scoped configuration belongs in coordinator catalog
    transaction machinery rather than SQL or the pure cluster controller

The live merge stack is:

  1. adapter: fix controller-owned cluster reconfiguration #38580, correctness fixes for the already-live controller path
  2. adapter: delete the staged cluster reconfiguration and direct replica paths #38103, deletion of the unreachable staged/direct implementation
  3. this reference document, which can stay unmerged

Unconditional WITH (WAIT ...) acceptance landed independently as #38627. The
scheduler and system-cluster prerequisites already merged as #38101 and #38102.

@aljoscha
aljoscha force-pushed the aljoscha/cluster-legacy-08-design branch from 735033c to eb5b956 Compare August 25, 2026 10:52
@aljoscha
aljoscha force-pushed the aljoscha/cluster-legacy-08-design branch from eb5b956 to fcb60f8 Compare August 25, 2026 11:14
@aljoscha
aljoscha force-pushed the aljoscha/cluster-legacy-08-design branch from fcb60f8 to 7e05ea4 Compare August 25, 2026 14:25
@aljoscha
aljoscha force-pushed the aljoscha/cluster-legacy-08-design branch from 7e05ea4 to 966cb85 Compare August 31, 2026 10:58
@aljoscha
aljoscha force-pushed the aljoscha/cluster-legacy-08-design branch from 966cb85 to e6cf3e9 Compare August 31, 2026 11:18
@aljoscha
aljoscha force-pushed the aljoscha/cluster-legacy-08-design branch from e6cf3e9 to 1867465 Compare August 31, 2026 11:20
@aljoscha
aljoscha force-pushed the aljoscha/cluster-legacy-08-design branch 2 times, most recently from 574aea4 to 31b6fc9 Compare August 31, 2026 12:23
@aljoscha
aljoscha force-pushed the aljoscha/cluster-legacy-08-design branch from 31b6fc9 to 30c5dce Compare August 31, 2026 14:30
@aljoscha
aljoscha force-pushed the aljoscha/cluster-legacy-08-design branch from 30c5dce to c0af607 Compare August 31, 2026 14:40
@aljoscha
aljoscha force-pushed the aljoscha/cluster-legacy-08-design branch 2 times, most recently from 4ef60c6 to 3c8161e Compare August 31, 2026 15:32
@aljoscha
aljoscha force-pushed the aljoscha/cluster-legacy-08-design branch from 3c8161e to b215c79 Compare August 31, 2026 17:52
@aljoscha
aljoscha force-pushed the aljoscha/cluster-legacy-08-design branch from b215c79 to b28a55b Compare September 4, 2026 10:20
@aljoscha
aljoscha deleted the branch main September 4, 2026 10:20
@aljoscha aljoscha closed this Sep 4, 2026
@aljoscha aljoscha reopened this Sep 4, 2026
@aljoscha
aljoscha changed the base branch from aljoscha/cluster-legacy-04-zdt-flag to aljoscha/cluster-legacy-03-staged-machine September 4, 2026 10:21
@aljoscha
aljoscha force-pushed the aljoscha/cluster-legacy-08-design branch from b28a55b to b994d8d Compare September 4, 2026 10:23
@aljoscha
aljoscha force-pushed the aljoscha/cluster-legacy-08-design branch 2 times, most recently from 4859431 to 2fa1a5b Compare September 4, 2026 14:01
Base automatically changed from aljoscha/cluster-legacy-03-staged-machine to main September 4, 2026 15:28
Record the ownership boundary, hardening prerequisites, behavior changes, and
rejected alternatives for deleting the legacy scheduler and staged replica
paths. Note the unconditional WAIT surface that landed independently.
@aljoscha
aljoscha force-pushed the aljoscha/cluster-legacy-08-design branch from 2fa1a5b to 6f061ce Compare September 4, 2026 15:28
@aljoscha

aljoscha commented Sep 4, 2026

Copy link
Copy Markdown
Contributor Author

not meant for merging

@aljoscha aljoscha closed this Sep 4, 2026
@aljoscha
aljoscha deleted the aljoscha/cluster-legacy-08-design branch September 4, 2026 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant