You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pingqiu
d5ecf471fe
feat: real blockvol integration — StatusSnapshot + v2bridge reader + contract interfaces (Phase 07 P1)
Real blockvol integration:
- BlockVol.StatusSnapshot() reads actual fields:
WALHeadLSN ← nextLSN-1, WALTailLSN ← wal.Tail(),
CommittedLSN ← flusher.CheckpointLSN(),
CheckpointLSN ← super.WALCheckpointLSN,
CheckpointTrusted ← super.Validate()==nil
weed/storage/blockvol/v2bridge/:
- Reader wraps real BlockVol, implements ReadState() → BlockVolState
- Lives in weed/ module (can import blockvol directly)
sw-block/bridge/blockvol/ contract interfaces:
- BlockVolReader: ReadState() (weed-side implements)
- BlockVolPinner: HoldWALRetention/HoldSnapshot/HoldFullBase → release func
- BlockVolExecutor: StreamWALEntries/TransferSnapshot/TransferFullBase/TruncateWAL
- StorageAdapter refactored to consume interfaces (not push-based)
- PushStorageAdapter for tests
Handoff boundary (E5):
- sw-block/ defines contracts, weed/ implements them
- sw-block/ does NOT import weed/
- No cross-module circular dependency
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
3 days ago |
| .. |
|
adapter.go
|
fix: add full-base pin and clean up session on WAL pin failure
|
3 days ago |
|
budget.go
|
feat: add V2 engine replication core (Phase 05 Slice 1)
|
3 days ago |
|
doc.go
|
fix: separate stable ReplicaID from Endpoint in registry
|
3 days ago |
|
driver.go
|
fix: snapshot+tail WAL pin failure cleanup + true mid-executor epoch test
|
3 days ago |
|
driver_test.go
|
fix: derive WAL pin from actual replay need, PlanRebuild fails closed
|
3 days ago |
|
executor.go
|
fix: true mid-executor invalidation test via OnStep hook
|
3 days ago |
|
executor_test.go
|
fix: rebuild executor consumes bound plan, fix catch-up timing
|
3 days ago |
|
go.mod
|
feat: add V2 engine replication core (Phase 05 Slice 1)
|
3 days ago |
|
history.go
|
fix: connect recovery decisions to RetainedHistory, fix rebuild source
|
3 days ago |
|
integration_test.go
|
fix: orchestrator owns full catch-up contract (budget + truncation)
|
3 days ago |
|
observe.go
|
feat: add integration closure and observability (Phase 05 Slice 4)
|
3 days ago |
|
orchestrator.go
|
fix: orchestrator owns full catch-up contract (budget + truncation)
|
3 days ago |
|
outcome.go
|
feat: add V2 engine replication core (Phase 05 Slice 1)
|
3 days ago |
|
ownership_test.go
|
fix: separate stable ReplicaID from Endpoint in registry
|
3 days ago |
|
rebuild.go
|
fix: correct catch-up entry counting and rebuild transfer gate
|
3 days ago |
|
recoverability_test.go
|
fix: connect recovery decisions to RetainedHistory, fix rebuild source
|
3 days ago |
|
recovery_test.go
|
fix: correct catch-up entry counting and rebuild transfer gate
|
3 days ago |
|
registry.go
|
fix: separate stable ReplicaID from Endpoint in registry
|
3 days ago |
|
sender.go
|
fix: add RecoveryOrchestrator as real integrated entry path
|
3 days ago |
|
session.go
|
fix: correct catch-up entry counting and rebuild transfer gate
|
3 days ago |
|
types.go
|
feat: add V2 engine replication core (Phase 05 Slice 1)
|
3 days ago |
|
validation_test.go
|
fix: true mid-executor invalidation test via OnStep hook
|
3 days ago |