
pingqiuandClaude Opus 4.6
c7eb87c587
feat: Phase 09 — V2 execution primitives and production closure
Engine execution layer for V2 replication protocol:
- RebuildInstaller: full state handoff (dirty map, WAL, superblock, flusher)
- TruncateToLSN: exact safety predicate (checkpointLSN == truncateLSN),
ErrTruncationUnsafe escalation to NeedsRebuild
- SyncReceiverProgress: unconditional Store for post-rebuild alignment
- V2StatusSnapshot: CommittedLSN = nextLSN-1 for sync_all
V2 bridge real I/O executors:
- TransferFullBase: TCP streaming + RebuildInstaller + second catch-up
- TransferSnapshot: SHA-256 verified streaming to disk
- TruncateWAL: ErrTruncationUnsafe detection + escalation
- StreamWALEntries: rebuild-mode TCP apply
Engine executor interfaces:
- CatchUpIO.TruncateWAL, RebuildIO.TransferFullBase returns achievedLSN
- CatchUpExecutor truncation-only skip, NeedsRebuild escalation
- RebuildExecutor uses achievedLSN for progress tracking
Design docs reorganized: superseded planning docs removed, protocol
truths and closure map added.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 16:25:23 -07:00
..
2026-02-20 18:42:00 -08:00
2026-04-02 16:25:23 -07:00
2026-02-16 15:09:01 -08:00
2026-02-11 11:04:08 -08:00
2026-02-13 15:47:29 -08:00
2026-02-20 18:42:00 -08:00
2025-06-16 22:25:22 -07:00
2026-02-13 15:47:29 -08:00
2026-02-20 18:42:00 -08:00
2026-01-07 13:06:08 -08:00
2025-10-26 22:48:58 -07:00
2025-10-26 22:48:58 -07:00
2026-01-28 17:21:14 -08:00
2026-01-01 19:20:59 -08:00
2026-02-02 17:55:04 -08:00
2026-02-19 13:30:59 -08:00
2026-01-28 17:21:14 -08:00
2026-02-11 14:17:21 -08:00
2026-02-24 07:32:13 -08:00
2025-12-15 21:39:27 -08:00
2023-03-08 01:48:28 -08:00
2024-11-21 00:37:38 -08:00
2024-06-02 14:12:25 -07:00
2022-11-14 00:19:27 -08:00
2026-03-02 09:34:00 -08:00
2026-03-31 10:46:17 -07:00
2025-11-17 21:19:55 -08:00
2025-12-02 17:00:05 -08:00
2026-01-23 16:38:36 -08:00
2026-02-16 15:09:01 -08:00
2026-02-16 15:09:01 -08:00
2025-10-20 16:11:29 -07:00
2026-01-28 17:21:14 -08:00
2026-02-06 10:58:43 -08:00
2025-06-30 13:57:28 -07:00
2026-02-16 02:15:14 -08:00
2026-02-06 10:58:43 -08:00
2019-04-17 22:04:49 -07:00
2025-06-16 22:05:06 -07:00
2026-02-13 15:47:29 -08:00
2026-02-13 15:47:29 -08:00
2022-07-29 00:17:28 -07:00
2026-01-29 14:16:42 -08:00
2026-01-16 19:19:18 -08:00
2022-11-23 15:59:38 -08:00
2026-01-28 17:21:14 -08:00
2026-02-08 19:08:10 -08:00
2026-01-16 19:19:18 -08:00
2025-06-16 22:25:22 -07:00
2026-02-16 02:15:14 -08:00
2026-02-16 14:44:37 -08:00
2026-01-28 17:21:14 -08:00
2025-10-16 12:21:51 -07:00
2025-07-30 12:38:03 -07:00