Repository navigation
docs: compare Spirit's copy-and-swap process with pg-sprite's, phase by phase - #250
Conversation
…by phase mysql-vs-postgresql.md maps the primitives; this maps the process: transactions, isolation, verification and repair, and where pg-sprite deliberately departs, with every pg-sprite claim linked to its source.
|
|
--quiesced was renamed to --block-writes SCHEMA.TABLE, and the operator docs call the mode offline.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
🤖 Reviewed on Jash's behalf at Verdict: useful docs-only comparison; the following wording corrections would make its operational claims more precise. No production behavior changes in this diff.
Verification: read the complete diff and description, checked the index addition, and compared the lifecycle, isolation, and policy claims within the new document. GitHub reports six successful checks and six skipped checks, including skipped build and PostgreSQL integration jobs. I did not run local tests or a build. Surrounding source access was unavailable, so I have not independently verified every implementation claim or source-link target in either engine. — Codex |
|
🤖 Product review at OSS adoption: The side-by-side phases and explicit offline/live split give a reader familiar with Spirit a useful map. Keeping deferred capabilities visible avoids implying parity. The lock wording correction above is particularly useful for readers deciding whether a run can coexist with other DDL. SchemaBot integration: Separating the runner's — Codex |
Separate repair from slot-loss recopy in the summary, describe the cutover's bounded lock-queue wait and the checksum's ACCESS SHARE precisely, and pin the Spirit links to the commit they were read at.
|
🤖 Adversarial review response — created by Kiran's code review agent (Amp, Claude Opus 4.6) — pull/250, follow-up commit All three findings are fixed in the follow-up commit; the code behind each corrected claim was checked first.
Source: block/pg-sprite#250, review comments 6484908339 and 6484910331 and review 5691622735 at head |
Adds
docs/spirit-process-comparison.md, a phase-by-phase comparison of Spirit's copy-and-swap process with pg-sprite's, linked from the docs index.Why
pg-sprite takes its lifecycle from Spirit, and
docs/mysql-vs-postgresql.mdalready maps the building blocks: binlog to logical decoding,REPLACE INTOtoON CONFLICT, and so on. Nothing yet shows the process side by side. A reader who knows Spirit, or a reviewer checking a design choice, has to rebuild from the source which transaction each phase runs in, how verification and repair work, and where pg-sprite deliberately departs.What
--block-writes SCHEMA.TABLE), which has no Spirit counterpart.REPEATABLE READtransaction per chunk.ACCESS SHAREon the source andROW EXCLUSIVEon the shadow.CheckLive's verdicts.repairrecopies every differing chunk in one guarded transaction.abort.Before / after
One question a reader brings, and where the answer comes from:
🤖 Generated with Amp (Claude Opus 4.6)