Files
seaweedfs/sw-block/.private
pingqiuandClaude Opus 4.6 55013e103b feat: Phase 20 Stage 0+1 closure — bootstrap + sustained workload on hardware
Stage 0 (bootstrap closure): PASS on m01/M02
  - create RF=2 sync_all → 10s shipper wait → 4k fsync → publish_healthy
  - Proves: BarrierAccepted observation, ShipperConnected, DurableLSN > 0

Stage 1 (sustained workload): 32/33 actions PASS
  - bootstrap → fio 10s randwrite → dd_write 1M×2 fsync → data checksum
  - Remaining: auto-failover promotion (separate issue)

Key fixes:
  - BarrierAccepted callback: SyncCache success → core DurableLSN update
  - BarrierRejected callback: barrier failures surface to core with reason
  - Shipper state callback for new volumes (not just startup volumes)
  - CatchUpTo ctrl conn reset: prevents stale control channel after recovery
  - CP13-6 max-bytes budget suspended: uses replicaFlushedLSN which can't
    advance without barrier; kills healthy shippers during async writes.
    Will be replaced by v2 negotiated sync/recovery protocol.
  - Barrier diagnostic logging: start/fail/success with reason and LSN
  - Scenario restructured: Stage 0 (bootstrap-closure) + Stage 1 (failover)
  - dd_write: sync_mode param + real stderr capture
  - sw-test-runner suite command: deploy once, run N scenarios
  - WAL size plumbing: proto + API + handler (forward-compatible)

Known: 6 blockvol/server test failures from Barrier() path change
(bounded catch-up in Barrier). Need test updates to match new semantics.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 19:55:12 -07:00
..

.private

Private working area for sw-block.

Use this for:

  • phase development notes
  • roadmap/progress tracking
  • draft handoff notes
  • temporary design comparisons
  • prototype scratch work not ready for design/ or prototype/

Recommended layout:

  • .private/phase/: phase-by-phase development notes
  • .private/roadmap/: short-term and medium-term execution notes
  • .private/handoff/: notes for sw, qa, or future sessions

Phase protocol:

  • each phase should normally have:
    • phase-xx.md
    • phase-xx-log.md
    • phase-xx-decisions.md
  • details are defined in .private/phase/README.md

Promotion rules:

  • stable vision/design docs go to ../design/
  • real prototype code stays in ../prototype/
  • .private/ is for working material, not source of truth