mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 10:37:23 +01:00
5.8 KiB
5.8 KiB
Engineering Coverage Matrix
This matrix is the review checklist for whether the wiki covers the last several months of Seaweed Block work. It is domain-based rather than phase-based because developers need to understand subsystems, ownership, and invariants, not just the order in which phases happened.
Coverage levels:
| Level | Meaning |
|---|---|
linked |
source docs are linked, but wiki explanation is thin |
mapped |
wiki explains the domain, ownership, code area, and source evidence |
deep |
wiki includes background, contract, ownership, state transitions, code entry points, evidence, failure taxonomy, implementation checklist, and QA gates |
Domain Coverage
| Domain | Why it matters | Source evidence | Current wiki coverage | Next doc work |
|---|---|---|---|---|
| Product positioning and claims | Prevents over-claiming and release confusion | docs/releases/, docs/roadmap.md, docs/user-capabilities.md |
mapped | claim-boundary page by release |
| Day-1 Kubernetes install and first PVC | User entry path and release smoke | Phase 20, 25, 40, 44 finished plans; quickstart | mapped | install flow diagram and troubleshooting |
| CSI lifecycle | PVC/PV path, CreateVolume/DeleteVolume, node stage/publish | core/csi, docs/runtime-state-machines.md, Phase 44 D2 |
deep | expand DeleteVolume details later |
| SwBlockVolume CR identity | Bridge from CSI to operation layer | Phase 44 D2 sign-off, core/csi/kubernetes_metadata.go |
deep | add field-by-field CRD contract later |
| operator-status | CRD status, Events, node evidence, cleanup/delete-safety | Phases 35-40, core/ops |
deep initial | add status writer/schema conformance page |
| lifecycle-owner | bounded finalizer add/release | Phases 41-44, lifecycle-owner refs | deep initial | add admission policy field matrix |
| Admission/RBAC boundary | Prevents finalizer owner from becoming broad operator | Phase 42 sign-off, Helm templates | linked | VAP/RBAC decision diagram |
| Delete-safety | Holds unsafe deletion, releases on clean evidence | Phase 39, 42, 44; finalizer-delete-safety contract | deep initial | field-by-field status contract |
| Cleanup verifier | Zero-residue authority and safety evidence | cleanup scripts, Phase 29, 36, 44 | mapped | residue taxonomy |
| ManagedVolume readiness | Shared ready/blocked/unknown model | Phase 22, 32, 35-36 | deep initial | add reason-code taxonomy |
| Node readiness / CSI evidence | Avoids false node-ready status | Phase 37 | deep | keep live K8s evidence current as CRD evolves |
| SmartWAL dirty failure | Proves dirty storage evidence cannot become false Ready | Phase 34 | deep | add exact test log excerpts later |
| WAL/frontier/barrier/recovery | Persistence and recovery vocabulary behind dirty-failure and rebuild | methodology docs, recovery tutorial, Phase 34 | deep | add exact SmartWAL layout diagrams later |
| Authority / epoch / promotion | One-primary, fencing, restart authority persistence | Phases 13-18, 31, invariant ledger | deep initial | add code-level product-loop walkthrough |
| Returned-replica rebuild/reintegration | Next major storage lifecycle feature | recovery refs, roadmap | deep initial | add concrete future gate plan |
| Read-write control-plane maturity | Prevents broad operator mutation from outrunning facts/evidence/admission | Phases 38-44, action/finalizer/delete-safety contracts | deep initial | split future safe_k8s, host_cleanup, authority, and data-lifecycle pages when each starts |
| iSCSI frontend / ALUA / multipath | Current default frontend and transparent failover path | iSCSI refs, Phase 17, 27, 37 | deep | keep artifact examples current as scenarios evolve |
| NVMe ANA parity | Planned protocol parity path | NVMe refs, roadmap | linked | future protocol page |
| GPUDirect/cuFile/cuObject | Future GPU data paths need separate block/file/object/transport claims | NVIDIA GDS/cuFile docs, roadmap | deep initial | add hardware-backed compatibility evidence when available |
| TestOps runner and scenarios | Product evidence, not just tests | testops/, Phase 33-34 |
deep initial | add runner action reference |
| Support bundle/replay/report/dashboard | Cold-reader diagnosis and support path | Phases 23-24, 28, 32, 36, 44 | deep | keep artifact list aligned with collect script |
| Release engineering | Image/chart skew prevention | Phases 40, 44, release notes | deep | keep current release checklist aligned |
| Status writer conformance | Real CRD/RBAC/admission validation | Phases 35-42, Phase 40 | deep | turn remaining schema-aware gates into envtest/live |
| blockvolume process/readiness | Separates process liveness, diagnostics, durable recovery, and frontend readiness | Phase 34, cmd/blockvolume |
deep | add flag matrix examples as needed |
| Docker volume plugin idea | Future non-K8s adapter | roadmap | linked | investigation page later |
Coverage Decision
The wiki is useful when each major domain has:
problem statement
industry/product pattern
Seaweed Block ownership model
state machine or protocol diagram
publish/API shape
main code entry points
evidence contract
failure taxonomy
implementation checklist
QA gates and failure evidence
explicit non-claims
Priority For Deep Pages
- CSI lifecycle and
SwBlockVolumeownership. - Operation layer v0.5: operator-status + lifecycle-owner + admission.
- ManagedVolume readiness and negative-first priority rules.
- SmartWAL dirty-failure path.
- TestOps authoring and evidence realism.
- Authority/promotion/restart persistence.
- iSCSI ALUA/multipath frontend.
- WAL/frontier/barrier/recovery.
- Live node/CSI evidence.
- Support bundle cold-reader path.
- Returned-replica rebuild readiness.
- Future read-write control-plane maturity.
- GPUDirect/cuFile/cuObject future design.
These pages cover most of the hard-earned knowledge from the last few months. The rest can remain linked until those are reviewed.