Files
seaweedfs/sw-block/design
pingqiuandClaude Opus 4.6 46faf0f7e3 feat: Phase 09 P0 — production execution closure plan
Execution-closure targets:
- P1: TransferFullBase — reuse rebuild.go TCP protocol
- P2: TransferSnapshot — checkpoint image + WAL tail
- P3: TruncateWAL — AdvanceTail + superblock update
- P4: Runtime ownership — V2 orchestrator drives execution

Key reuse sources identified:
- rebuild.go: rebuildFullExtent (client), RebuildServer (server)
- wal_writer.go: AdvanceTail
- flusher.go: updateSuperblockCheckpoint
- blockvol.go: ScanWALEntries (already wired)

Slice order: full-base first (highest value), then snapshot,
then truncation, then runtime ownership.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 17:25:09 -07:00
..

V2 Design

Current WAL V2 design set:

  • v2-algorithm-overview.md
  • v2-algorithm-overview.zh.md
  • v2-detailed-algorithm.zh.md
  • wal-replication-v2.md
  • wal-replication-v2-state-machine.md
  • wal-replication-v2-orchestrator.md
  • wal-v2-tiny-prototype.md
  • wal-v1-to-v2-mapping.md
  • v2-dist-fsm.md
  • v2_scenarios.md
  • v1-v15-v2-comparison.md
  • v2-scenario-sources-from-v1.md
  • protocol-development-process.md
  • v2-acceptance-criteria.md
  • v2-open-questions.md
  • v2-first-slice-session-ownership.md
  • v2-prototype-roadmap-and-gates.md
  • v2-engine-readiness-review.md
  • v2-engine-slicing-plan.md
  • v2-protocol-truths.md
  • v2-production-roadmap.md
  • v2-product-completion-overview.md
  • v2-phase-development-plan.md
  • phase-07-service-slice-plan.md
  • phase-08-engine-skeleton-map.md
  • agent_dev_process.md

These documents are the working design home for the V2 line.

The original project-level copies under learn/projects/sw-block/design/ remain as shared references for now.

Execution note:

  • active development tracking lives under ../.private/phase/
  • key completed/current phase docs include:
    • ../.private/phase/phase-01.md
    • ../.private/phase/phase-02.md
    • ../.private/phase/phase-03.md
    • ../.private/phase/phase-04.md
    • ../.private/phase/phase-4.5.md
    • ../.private/phase/phase-05.md
    • ../.private/phase/phase-06.md
    • ../.private/phase/phase-07.md