diff --git a/seaweed-block/README.md b/seaweed-block/README.md index a8025a0f5e..80d34dbea3 100644 --- a/seaweed-block/README.md +++ b/seaweed-block/README.md @@ -37,6 +37,7 @@ This is an **alpha** product path for supported lab clusters, not production. | Returned-replica ACK eligibility executor | Beta candidate | Returned-replica failback runtime | Source-gated | | Returned-replica rebuild traffic | Planned | Frontend publication after failback | Planned | | NVMe/TCP CSI multipath + backend write batching | Source-gated | Backup/snapshot/restore | Planned | +| WAL multi-block record opt-in | Source-gated | WAL format default change | Not claimed | | Production SLO/performance claims | Not claimed | Hosted production UI | Not claimed | ## What You Can Do Today @@ -82,7 +83,9 @@ This is an **alpha** product path for supported lab clusters, not production. live desired path-set replacement gate where CSI-node connects the new desired NVMe path and prunes the stale old host path without remounting the pod, and a durable backend full-block write-batching gate with - product-owned `/status/durable` counters. This is a + product-owned `/status/durable` counters. The source-gated WAL multi-block + record opt-in has mounted profile and restart/recovery compatibility evidence, + but remains default-off. This is a supported-lab source-gated claim, not a broad NVMe compatibility, RoCE/NVMe-RDMA, production HA, or performance/SLO claim. - Replay support bundles offline. diff --git a/seaweed-block/charts/seaweed-block/README.md b/seaweed-block/charts/seaweed-block/README.md index 385a98a13c..3409a98338 100644 --- a/seaweed-block/charts/seaweed-block/README.md +++ b/seaweed-block/charts/seaweed-block/README.md @@ -100,6 +100,20 @@ be set explicitly. The chart default is `32768`; `65536` has a supported-lab gate as an opt-in candidate. This is not a default change, NVMe/RDMA/RoCE claim, or performance SLO. +For source-gated WAL write-path experiments, multi-block WAL records can be +enabled explicitly: + +```yaml +blockmaster: + durableWALMultiBlockRecords: true +``` + +This is a lab-only optimization boundary backed by Phase 151/152 gates. The +default remains `false`. Do not set +`durableWALRecoveryTestDisableFlusher` outside recovery-test gates; that flag is +scaffolding used to force WAL replay evidence and is not a production tuning +knob. + ## RF=3 Sync-Quorum Profile For the gated RF=3 recovery shape: diff --git a/seaweed-block/charts/seaweed-block/values.schema.json b/seaweed-block/charts/seaweed-block/values.schema.json index cd024182d2..54913293f4 100644 --- a/seaweed-block/charts/seaweed-block/values.schema.json +++ b/seaweed-block/charts/seaweed-block/values.schema.json @@ -36,6 +36,7 @@ }, "failbackRuntimeRPC": { "type": "boolean" }, "durableImpl": { "type": "string", "enum": ["walstore", "smartwal"] }, + "durableWALMultiBlockRecords": { "type": "boolean" }, "durableWALRecoveryTestDisableFlusher": { "type": "boolean" }, "stateHostPath": { "type": "string" }, "stateHostPathType": { "type": "string" }, diff --git a/seaweed-block/docs/releases/README.md b/seaweed-block/docs/releases/README.md index eba49e9bda..56282b416f 100644 --- a/seaweed-block/docs/releases/README.md +++ b/seaweed-block/docs/releases/README.md @@ -17,6 +17,7 @@ is still outside the supported boundary. - [v0.5 Beta Candidate — Bounded SwBlockVolume Lifecycle Owner](v0.5-beta-candidate.md) - [v0.6 Beta Candidate — Returned-Replica ACK Eligibility Executor](v0.6-beta-candidate.md) - [NVMe/TCP Supported-Lab Claim](nvme-tcp-supported-lab.md) +- [WAL Multi-Block Record Opt-In Boundary](wal-multiblock-opt-in.md) ## Version Boundary @@ -82,3 +83,4 @@ documented separately because it is source-gated until matching smoke; it now includes source-gated multipath/reconnect correctness and durable backend write-batching evidence, but still no RoCE/NVMe-RDMA or performance SLO claim. +The WAL multi-block record opt-in is documented separately because it is a backend/WAL-format optimization boundary, not a RoCE, NVMe/RDMA, or performance claim. It remains default-off and source-gated. diff --git a/seaweed-block/docs/releases/nvme-tcp-supported-lab.md b/seaweed-block/docs/releases/nvme-tcp-supported-lab.md index 061f3bc6f0..4d3fbd4222 100644 --- a/seaweed-block/docs/releases/nvme-tcp-supported-lab.md +++ b/seaweed-block/docs/releases/nvme-tcp-supported-lab.md @@ -92,6 +92,9 @@ The supported-lab claim is intentionally narrow: | 148 | WAL multi-block record local prototype | PASS | | 149 | WAL multi-block record local profile | PASS | | 150 | WAL multi-block runtime opt-in | PASS | +| 151 | Mounted NVMe/TCP multi-block WAL opt-in profile | PASS | +| 152 | Mounted multi-block WAL recovery compatibility | PASS | +| 153 | WAL multi-block release-boundary documentation | PASS | Key QA sign-offs: @@ -126,6 +129,9 @@ Key QA sign-offs: - `internal/docs/qa-assignments/phase148-wal-multiblock-record-local-prototype-qa-signoff.md` - `internal/docs/qa-assignments/phase149-wal-multiblock-record-profile-qa-signoff.md` - `internal/docs/qa-assignments/phase150-wal-multiblock-runtime-opt-in-qa-signoff.md` +- `internal/docs/qa-assignments/phase151-wal-multiblock-mounted-nvme-profile-qa-signoff.md` +- `internal/docs/qa-assignments/phase152-wal-multiblock-recovery-compatibility-qa-signoff.md` +- `internal/docs/qa-assignments/phase153-wal-multiblock-release-boundary-qa-signoff.md` ## Performance Baseline diff --git a/seaweed-block/docs/releases/wal-multiblock-opt-in.md b/seaweed-block/docs/releases/wal-multiblock-opt-in.md new file mode 100644 index 0000000000..7cd87ef16f --- /dev/null +++ b/seaweed-block/docs/releases/wal-multiblock-opt-in.md @@ -0,0 +1,110 @@ +# WAL Multi-Block Record Opt-In Boundary + +Status: source-gated opt-in. This is **not** a default format change. + +## Summary + +Seaweed Block has a disabled-by-default `walstore` optimization that can encode a +contiguous full-block write batch as one multi-block WAL record while preserving +per-block LSN semantics: + +```text +NVMe/TCP write request +-> durable backend WriteBatch +-> one WAL record for N contiguous blocks +-> recovery splits the record back into per-block dirty-map entries +``` + +The opt-in exists to reduce WAL record materialization overhead in the current +TCP NVMe supported-lab write path. It is not a production storage-format +migration, not a performance/SLO claim, and not related to RoCE or NVMe/RDMA. + +## Opt-In Shape + +For source-gated lab testing only: + +```yaml +blockmaster: + durableWALMultiBlockRecords: true +``` + +This renders generated `blockvolume` workloads with: + +```text +--durable-wal-multiblock-records +``` + +Do not enable this in a user release by default. The chart default remains: + +```yaml +blockmaster: + durableWALMultiBlockRecords: false +``` + +The separate `durableWALRecoveryTestDisableFlusher` value and +`--durable-wal-recovery-test-disable-flusher` flag are recovery-test scaffolding +only. They are used to preserve synced-but-uncheckpointed WAL records for a +restart/replay gate and are not a production or user-facing tuning knob. + +## Validated Evidence + +| Phase | Evidence | Result | +|---|---|---| +| 147 | WAL multi-block record design gate | PASS | +| 148 | local encode/decode, dirty-read, recovery-split, flusher-split tests | PASS | +| 149 | local profile reduces encode ops from `2048` to `128` | PASS | +| 150 | runtime and Helm opt-in wired default-off | PASS | +| 151 | mounted NVMe/TCP opt-in profile observes multi-block record shape | PASS | +| 152 | mounted hostPath restart/recovery replays multi-block WAL records | PASS | + +Phase 151 mounted profile evidence: + +```text +phase151_wal_multiblock_mounted_nvme_profile_status=ok +runtime_opt_in_enabled=true +candidate_max_h2c_bytes=65536 +target_write_request_max_bytes=65536 +backend_write_request_max_bytes=65536 +wal_encode_ops=9002 +backend_storage_write_calls=9002 +backend_storage_write_blocks=143570 +multiblock_record_shape_observed=true +writer_verified=true +reader_verified=true +cleanup_status=ok +``` + +Phase 152 mounted recovery evidence: + +```text +phase152_wal_multiblock_recovery_compatibility_status=ok +runtime_opt_in_enabled=true +recovery_test_disable_flusher_enabled=true +restart_persistence_mode=hostpath +blockvolume_restart_mode=force_delete_pod +recovery_completed=true +recovered_lsn_after_restart=14545 +wal_integrity_fault_observed=false +reader_verified_after_restart=true +ready_after_restart=true +cleanup_status=ok +``` + +## Explicit Non-Claims + +- Not enabled by default. +- Not a public release-image claim until matching images are published and a + release smoke includes this opt-in. +- No performance, throughput, latency, RTO, RPO, or SLO claim. +- No RoCE, NVMe/RDMA, GPU Direct, cuFile/cuObject, or NIXL claim. +- No broad host, distro, kernel, filesystem, or initiator compatibility claim. +- No WAL format migration promise for existing user data. +- No production HA claim. + +## Remaining Follow-Ups + +- Clean up the diagnostic durable status where post-recovery + `DurableLSN=14545` was correct but `HeadLSN` displayed a much larger value. +- Decide whether this opt-in should stay source-gated or be included in a future + published-image release smoke. +- Keep the recovery-test flusher-disable hook out of user release guidance. diff --git a/seaweed-block/docs/roadmap.md b/seaweed-block/docs/roadmap.md index fcb43e57f3..e6fde76537 100644 --- a/seaweed-block/docs/roadmap.md +++ b/seaweed-block/docs/roadmap.md @@ -125,8 +125,10 @@ Seaweed Block can already demonstrate a narrow Kubernetes block-storage loop: proves mounted restart/recovery compatibility with hostPath persistence, force-delete restart, and `recovered_lsn_after_restart=14545`. The opt-in remains default-off and is not a performance/SLO, RoCE, or NVMe/RDMA claim. - The next step is a release-boundary review that documents the opt-in and - remaining diagnostic follow-ups without changing the default WAL format. + Phase 153 documents the release boundary and lab-only opt-in shape without + changing the default WAL format. The next narrow follow-up is diagnostic + cleanup for post-recovery durable status where the recovered LSN was correct + but `HeadLSN` displayed an unrelated larger value. - Kubernetes NVMe/TCP mounted reconnect is source-gated through changed desired path-set evidence: CSI-node can connect a newly published desired NVMe path, prune the stale old host path for the same NQN, preserve pod diff --git a/seaweed-block/internal/docs/current-plan.md b/seaweed-block/internal/docs/current-plan.md index c6c35c47fd..624186e078 100644 --- a/seaweed-block/internal/docs/current-plan.md +++ b/seaweed-block/internal/docs/current-plan.md @@ -1,43 +1,8 @@ -# Current Plan: Phase 153 WAL Multi-Block Release Boundary +# Current Plan: Phase 154 Durable Status HeadLSN Diagnostic Cleanup Status: planning. -Phase 152 closed the mounted restart/recovery compatibility gate: - -```text -phase152_wal_multiblock_recovery_compatibility_status=ok -runtime_opt_in_name=durable-wal-multiblock-records -runtime_opt_in_enabled=true -recovery_test_disable_flusher_enabled=true -restart_persistence_mode=hostpath -candidate_max_h2c_bytes=65536 -target_write_request_max_bytes=65536 -backend_write_request_max_bytes=65536 -wal_encode_ops=873 -backend_storage_write_calls=873 -backend_storage_write_blocks=13512 -multiblock_record_shape_observed=true -writer_verified_before_restart=true -blockvolume_restart_mode=force_delete_pod -blockvolume_restarted=true -recovery_completed=true -recovered_lsn_after_restart=14545 -wal_integrity_fault_observed=false -reader_verified_after_restart=true -ready_after_restart=true -cleanup_status=ok -phase152_decision=keep_opt_in -next_recommendation=phase153_wal_multiblock_release_boundary -``` - -## Goal - -Turn the Phase 150-152 evidence into an explicit release boundary for the -multi-block WAL record opt-in. The release boundary must keep the current WAL -format default unchanged, document the opt-in accurately, and name any remaining -diagnostic or compatibility follow-ups before a user-facing release note. - -## Required Evidence +Phase 153 closed the multi-block WAL release-boundary gate: ```text phase153_wal_multiblock_release_boundary_status=ok @@ -53,30 +18,58 @@ mounted_profile_gate_passed=true mounted_recovery_gate_passed=true release_note_non_claims_documented=true remaining_followups_listed=true -phase153_decision= +phase153_decision=document_opt_in +next_recommendation=phase154_durable_status_head_lsn_cleanup +``` + +## Goal + +Clean up the diagnostic durable-status mismatch observed in Phase 152 after +multi-block WAL recovery. The recovery gate showed the mounted reader and +`DurableLSN=14545` were correct, but `/status/durable` displayed a much larger +`HeadLSN`. Phase 154 should clarify and fix the status semantics without +weakening recovery correctness or changing the default WAL format. + +## Required Evidence + +```text +phase154_durable_status_head_lsn_cleanup_status=ok +phase152_followup=head_lsn_diagnostic_cleanup +runtime_opt_in_name=durable-wal-multiblock-records +runtime_opt_in_enabled=true +recovered_lsn_remains_correct=true +durable_status_head_lsn_semantics_documented=true +head_lsn_after_recovery_is_bounded=true +no_recovery_semantics_change_without_test=true +default_wal_format_unchanged=true +cleanup_status=ok +phase154_decision= next_recommendation= ``` ## Boundaries - Do not enable multi-block records by default. -- Do not claim throughput/SLO from the Phase 151/152 gates. -- Do not claim RoCE/NVMe-RDMA. -- Do not turn the recovery-test flusher-disable hook into a production feature. -- Do not hide the diagnostic `HeadLSN` follow-up; document it as a non-blocking - status cleanup unless it proves to affect correctness. +- Do not change WAL recovery behavior unless a test proves the current behavior + is incorrect. +- Do not weaken the Phase 152 mounted recovery gate. +- Do not turn this into a performance phase. +- Keep the work scoped to durable status semantics and diagnostics unless a real + correctness issue is found. ## Candidate Work -1. Add a release-boundary gate script that reads Phase 150-152 evidence. -2. Update release/roadmap docs to describe the opt-in and non-claims. -3. Add a concise user-facing values example for enabling the opt-in in lab-only - testing. -4. List remaining follow-ups, including the post-recovery `HeadLSN` diagnostic - cleanup. +1. Reproduce or isolate the Phase 152 post-recovery status mismatch with the + smallest local or mounted gate available. +2. Define what `HeadLSN`, `DurableLSN`, and recovery evidence should mean after + replay. +3. Fix the status publisher or document the semantics if no code change is + needed. +4. Add a regression that proves recovered LSN remains correct and diagnostic + `HeadLSN` no longer shows an unrelated larger value. ## Exit Criteria -Phase 153 can close when the project has an accurate release boundary for the -multi-block WAL opt-in: profile and recovery gates cited, defaults unchanged, -non-claims explicit, and follow-ups tracked. +Phase 154 can close when the durable status after multi-block recovery is +coherent, documented, and regression-tested without changing defaults or making +new performance/RDMA claims. diff --git a/seaweed-block/internal/docs/finished-plans/phase153_finishedplan_wal_multiblock_release_boundary.md b/seaweed-block/internal/docs/finished-plans/phase153_finishedplan_wal_multiblock_release_boundary.md new file mode 100644 index 0000000000..3edebea239 --- /dev/null +++ b/seaweed-block/internal/docs/finished-plans/phase153_finishedplan_wal_multiblock_release_boundary.md @@ -0,0 +1,50 @@ +# Phase 153 Finished Plan: WAL Multi-Block Release Boundary + +Status: **closed 2026-07-06, local contract gate PASS**. + +## Problem + +Phases 150-152 moved multi-block WAL records from local prototype to a +disabled-by-default runtime opt-in with mounted NVMe/TCP profile evidence and +mounted restart/recovery compatibility. That still was not a release claim: the +project needed a clear boundary that says what was proven, how to opt in for lab +testing, and what must not be claimed. + +## Work + +Phase 153 added: + +- a release-boundary document under `docs/releases/`; +- release README, root README, chart README, and NVMe/TCP lab release-note + updates; +- a Helm/schema contract fix for `durableWALMultiBlockRecords`; +- a local gate that verifies defaults, explicit Helm rendering, documented + non-claims, cited Phase 151/152 evidence, and remaining follow-ups. + +## Evidence + +```text +phase153_wal_multiblock_release_boundary_status=ok +frontend_transport=tcp +roce_claim_allowed=false +nvme_rdma_claim_allowed=false +performance_slo_claim_allowed=false +default_wal_format_unchanged=true +feature_gate_default=false +runtime_opt_in_name=durable-wal-multiblock-records +runtime_opt_in_documented=true +mounted_profile_gate_passed=true +mounted_recovery_gate_passed=true +release_note_non_claims_documented=true +remaining_followups_listed=true +phase153_decision=document_opt_in +next_recommendation=phase154_durable_status_head_lsn_cleanup +``` + +## Conclusion + +The multi-block WAL record path remains a source-gated opt-in. The release +boundary is now explicit: no default format change, no performance/SLO claim, no +RoCE or NVMe/RDMA claim, and no user-facing recovery-test flusher-disable +guidance. The next follow-up is the durable-status `HeadLSN` diagnostic cleanup +observed in Phase 152. diff --git a/seaweed-block/internal/docs/product-roadmap.md b/seaweed-block/internal/docs/product-roadmap.md index 388c876c33..9599a0b456 100644 --- a/seaweed-block/internal/docs/product-roadmap.md +++ b/seaweed-block/internal/docs/product-roadmap.md @@ -82,8 +82,10 @@ This is the short internal roadmap. Keep it current and readable. NVMe/TCP profile evidence, and mounted restart/recovery compatibility. Phase 152 recovered `LSN=14545` after a force-deleted `blockvolume` restart with hostPath persistence. This is still default-off and not a performance/SLO, - RoCE, or NVMe/RDMA claim; Phase 153 is the release-boundary/documentation - review before any user-facing claim. + RoCE, or NVMe/RDMA claim. Phase 153 closed the release-boundary documentation + gate for this source-gated opt-in. Phase 154 should clean up the diagnostic + durable-status `HeadLSN` display observed after recovery without changing WAL + recovery semantics unless a dedicated test proves that is required. Do not skip from scripts directly to mutating operator lifecycle. Helm has stabilized the installation contract, and Phase 35 added read-only CRD status, diff --git a/seaweed-block/internal/docs/qa-assignments/phase153-wal-multiblock-release-boundary-qa-signoff.md b/seaweed-block/internal/docs/qa-assignments/phase153-wal-multiblock-release-boundary-qa-signoff.md new file mode 100644 index 0000000000..019dfbba41 --- /dev/null +++ b/seaweed-block/internal/docs/qa-assignments/phase153-wal-multiblock-release-boundary-qa-signoff.md @@ -0,0 +1,62 @@ +# Phase 153 QA Sign-Off: WAL Multi-Block Release Boundary + +Status: **PASS** on 2026-07-06. + +Run bundle: +`results/phase153-wal-multiblock-release-boundary-gate`. + +## Verdict + +The multi-block WAL record work now has an explicit release boundary. The +runtime option remains default-off, the Helm chart can render the opt-in only +when requested, the recovery-test flusher-disable hook is documented as test +scaffolding only, and the release docs cite the mounted profile and mounted +recovery gates without claiming RoCE, NVMe/RDMA, performance, SLO, or production +HA. + +This gate is intentionally a local contract/documentation gate. It does not +rerun the mounted NVMe/TCP lab because Phase 151 and Phase 152 already provide +the mounted evidence being cited. + +## Evidence + +```text +phase153_wal_multiblock_release_boundary_status=ok +frontend_transport=tcp +roce_claim_allowed=false +nvme_rdma_claim_allowed=false +performance_slo_claim_allowed=false +default_wal_format_unchanged=true +feature_gate_default=false +runtime_opt_in_name=durable-wal-multiblock-records +runtime_opt_in_documented=true +mounted_profile_gate_passed=true +mounted_recovery_gate_passed=true +release_note_non_claims_documented=true +remaining_followups_listed=true +phase153_decision=document_opt_in +next_recommendation=phase154_durable_status_head_lsn_cleanup +cleanup_status=ok +``` + +## Checked Boundaries + +- `values.yaml` keeps `durableWALMultiBlockRecords: false`. +- `values.yaml` keeps `durableWALRecoveryTestDisableFlusher: false`. +- `values.schema.json` documents both booleans. +- Default Helm render omits both: + `--launcher-durable-wal-multiblock-records` and + `--launcher-durable-wal-recovery-test-disable-flusher`. +- Explicit `blockmaster.durableWALMultiBlockRecords=true` renders only the + multi-block opt-in. +- Explicit `blockmaster.durableWALRecoveryTestDisableFlusher=true` renders the + recovery-test hook separately. +- Release docs cite Phase 151 and Phase 152 evidence. +- Release docs list the diagnostic `HeadLSN` cleanup follow-up. + +## Conclusion + +The opt-in can be documented as source-gated lab functionality. It should not be +turned on by default and should not be presented as a performance, RoCE, or +NVMe/RDMA claim. The next narrow follow-up is the post-recovery durable-status +`HeadLSN` diagnostic cleanup. diff --git a/seaweed-block/scripts/run-phase153-wal-multiblock-release-boundary-gate.sh b/seaweed-block/scripts/run-phase153-wal-multiblock-release-boundary-gate.sh new file mode 100644 index 0000000000..9122343d32 --- /dev/null +++ b/seaweed-block/scripts/run-phase153-wal-multiblock-release-boundary-gate.sh @@ -0,0 +1,101 @@ +#!/usr/bin/env bash +set -euo pipefail + +ROOT="${1:-$(pwd)}" +ARTIFACT_DIR="${SW_BLOCK_ARTIFACT_DIR:-${ROOT}/results/phase153-wal-multiblock-release-boundary-gate}" +SUMMARY="${ARTIFACT_DIR}/phase153-wal-multiblock-release-boundary-summary.txt" + +mkdir -p "${ARTIFACT_DIR}/helm" +: >"${SUMMARY}" + +write_summary() { + echo "$*" | tee -a "${SUMMARY}" >/dev/null +} + +require_grep() { + local file="$1" + local needle="$2" + local label="$3" + if ! grep -Fq -- "${needle}" "${file}"; then + echo "missing ${label}: ${needle} in ${file}" >&2 + exit 1 + fi + write_summary "${label}=true" +} + +require_not_grep() { + local file="$1" + local needle="$2" + local label="$3" + if grep -Fq -- "${needle}" "${file}"; then + echo "unexpected ${label}: ${needle} in ${file}" >&2 + exit 1 + fi + write_summary "${label}=true" +} + +write_summary "phase153_wal_multiblock_release_boundary_status=running" +write_summary "frontend_transport=tcp" +write_summary "roce_claim_allowed=false" +write_summary "nvme_rdma_claim_allowed=false" +write_summary "performance_slo_claim_allowed=false" +write_summary "default_wal_format_unchanged=true" +write_summary "feature_gate_default=false" +write_summary "runtime_opt_in_name=durable-wal-multiblock-records" + +cd "${ROOT}" + +require_grep "charts/seaweed-block/values.yaml" "durableWALMultiBlockRecords: false" "values_default_multiblock_false" +require_grep "charts/seaweed-block/values.yaml" "durableWALRecoveryTestDisableFlusher: false" "values_default_recovery_test_disable_flusher_false" +require_grep "charts/seaweed-block/values.schema.json" '"durableWALMultiBlockRecords": { "type": "boolean" }' "schema_documents_multiblock_opt_in" +require_grep "charts/seaweed-block/values.schema.json" '"durableWALRecoveryTestDisableFlusher": { "type": "boolean" }' "schema_documents_recovery_test_hook" + +helm template sw-block charts/seaweed-block --namespace kube-system \ + >"${ARTIFACT_DIR}/helm/default-template.yaml" \ + 2>"${ARTIFACT_DIR}/helm/default-template.stderr.txt" +require_not_grep "${ARTIFACT_DIR}/helm/default-template.yaml" "--launcher-durable-wal-multiblock-records" "helm_default_omits_multiblock_opt_in" +require_not_grep "${ARTIFACT_DIR}/helm/default-template.yaml" "--launcher-durable-wal-recovery-test-disable-flusher" "helm_default_omits_recovery_test_disable_flusher" + +helm template sw-block charts/seaweed-block --namespace kube-system \ + --set blockmaster.durableWALMultiBlockRecords=true \ + >"${ARTIFACT_DIR}/helm/explicit-multiblock-template.yaml" \ + 2>"${ARTIFACT_DIR}/helm/explicit-multiblock-template.stderr.txt" +require_grep "${ARTIFACT_DIR}/helm/explicit-multiblock-template.yaml" "--launcher-durable-wal-multiblock-records" "helm_explicit_renders_multiblock_opt_in" +require_not_grep "${ARTIFACT_DIR}/helm/explicit-multiblock-template.yaml" "--launcher-durable-wal-recovery-test-disable-flusher" "helm_multiblock_opt_in_does_not_enable_recovery_test_hook" + +helm template sw-block charts/seaweed-block --namespace kube-system \ + --set blockmaster.durableWALRecoveryTestDisableFlusher=true \ + >"${ARTIFACT_DIR}/helm/explicit-recovery-test-template.yaml" \ + 2>"${ARTIFACT_DIR}/helm/explicit-recovery-test-template.stderr.txt" +require_grep "${ARTIFACT_DIR}/helm/explicit-recovery-test-template.yaml" "--launcher-durable-wal-recovery-test-disable-flusher" "helm_explicit_renders_recovery_test_hook" + +require_grep "docs/releases/wal-multiblock-opt-in.md" "WAL Multi-Block Record Opt-In Boundary" "release_boundary_doc_exists" +require_grep "docs/releases/wal-multiblock-opt-in.md" "durableWALMultiBlockRecords: true" "runtime_opt_in_documented" +require_grep "docs/releases/wal-multiblock-opt-in.md" "--durable-wal-multiblock-records" "blockvolume_opt_in_flag_documented" +require_grep "docs/releases/wal-multiblock-opt-in.md" "durableWALRecoveryTestDisableFlusher" "recovery_test_hook_documented" +require_grep "docs/releases/wal-multiblock-opt-in.md" "not a production or user-facing tuning knob" "recovery_test_hook_not_user_feature" +require_grep "docs/releases/wal-multiblock-opt-in.md" "phase151_wal_multiblock_mounted_nvme_profile_status=ok" "mounted_profile_gate_passed" +require_grep "docs/releases/wal-multiblock-opt-in.md" "phase152_wal_multiblock_recovery_compatibility_status=ok" "mounted_recovery_gate_passed" +require_grep "docs/releases/wal-multiblock-opt-in.md" "recovered_lsn_after_restart=14545" "recovery_lsn_evidence_documented" +require_grep "docs/releases/wal-multiblock-opt-in.md" "No performance, throughput, latency, RTO, RPO, or SLO claim." "performance_non_claim_documented" +require_grep "docs/releases/wal-multiblock-opt-in.md" "No RoCE, NVMe/RDMA, GPU Direct, cuFile/cuObject, or NIXL claim." "rdma_non_claim_documented" +require_grep "docs/releases/wal-multiblock-opt-in.md" "HeadLSN" "remaining_head_lsn_followup_listed" + +require_grep "docs/releases/README.md" "wal-multiblock-opt-in.md" "release_index_links_boundary_doc" +require_grep "docs/releases/README.md" "not a RoCE, NVMe/RDMA, or performance claim" "release_index_non_claims_documented" +require_grep "docs/releases/nvme-tcp-supported-lab.md" "153 | WAL multi-block release-boundary documentation | PASS" "nvme_lab_release_boundary_row_documented" +require_grep "charts/seaweed-block/README.md" "durableWALMultiBlockRecords: true" "chart_readme_documents_opt_in" +require_grep "charts/seaweed-block/README.md" "Do not set" "chart_readme_warns_recovery_test_hook" +require_grep "README.md" "WAL multi-block record opt-in" "root_readme_feature_status_documented" +require_grep "README.md" "default-off" "root_readme_default_off_documented" + +require_grep "internal/docs/qa-assignments/phase151-wal-multiblock-mounted-nvme-profile-qa-signoff.md" "phase151_wal_multiblock_mounted_nvme_profile_status=ok" "phase151_signoff_cited" +require_grep "internal/docs/qa-assignments/phase152-wal-multiblock-recovery-compatibility-qa-signoff.md" "phase152_wal_multiblock_recovery_compatibility_status=ok" "phase152_signoff_cited" +require_grep "internal/docs/qa-assignments/phase152-wal-multiblock-recovery-compatibility-qa-signoff.md" "HeadLSN" "phase152_followup_cited" + +write_summary "release_note_non_claims_documented=true" +write_summary "remaining_followups_listed=true" +write_summary "phase153_decision=document_opt_in" +write_summary "next_recommendation=phase154_durable_status_head_lsn_cleanup" +write_summary "cleanup_status=ok" +write_summary "phase153_wal_multiblock_release_boundary_status=ok"