RFC 0001: pgmold owns expand/contract zero-downtime migrations#331
Draft
fmguerreiro wants to merge 3 commits into
Draft
RFC 0001: pgmold owns expand/contract zero-downtime migrations#331fmguerreiro wants to merge 3 commits into
fmguerreiro wants to merge 3 commits into
Conversation
evaluates whether pgmold should subsume pgroll's zero-downtime expand/contract responsibility. carries four options: fix the pipeline seams (A), rebuild pgroll stateless (B), rebuild pgroll stateful (C), and pgmold-plans-pgroll-executes (E). recommends A now, E as the long-term target gated on a pgroll op-vocab coverage spike. includes the L0-L8 test matrix as the risk section.
pins how pgmold and pgroll are used together under E: the thin pgroll-awareness stance (file-format + object-ignore, no state coupling), the loose-vs-tight orchestration fork, the pipeline deploy sequence, the v5.4.0 worked example showing the failure is impossible by construction, and the loud coverage fallback.
spike run locally and closed. result: not a pgroll-coverage question. pgmold cannot represent a rename (no Rename op; name-keyed diff); proven by execution it emits destructive drop+add that fails on a populated table. pgroll v0.16 vocab is rich, not the bottleneck. recommendation reframed: ship A now (pipeline reorder + ownership boundary), add a rename directive as an independent pgmold-correctness item (Beads pgmold-3po5), defer E until that ships and only if the managed coupling tax proves painful. spike Beads pgmold-e5bj closed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
design doc: should pgmold subsume pgroll's expand/contract responsibility.
doc: docs/rfc/0001-pgmold-owns-expand-contract.md
status Draft. needs stakeholder review before Proposed.