Commit Graph
33 Commits
Author SHA1 Message Date
pingqiu 342dc3529a fix: separate workspace lease expiry with a clock skew margin 2026-11-15 23:30:05 -08:00
pingqiuandClaude Opus 5.5 41f00e5b1a volume delete: terminal-state fork replay; reservation-aware import
- Fork's early replay of a completed request refuses (volume_deleted)
  a target whose HEAD is deleting, purging or deleted, also before its
  VOLUME is marked, like the later publication path.
- Host.ImportLifecycleVolume registers a cluster-spec volume under the
  CreateVolume RPC's boundary (workspaceMu, reservation check through
  the create); blockmaster startup uses it, skipping (and logging) a
  reserved id, and the placement import skips reserved ids too.
  Unreserved ids keep importing idempotently.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 21:06:24 -08:00
pingqiuandClaude Opus 5.5 a60daf2376 volume delete: RED controls for the r4 P2s
codex01's r4 review (V:/share/rdma/codex01-block152-r4-review-
20261116T0445Z/REVIEW.md). Controls failing against stubs:

- Fork's early replay reports success for a target past the delete mark
  (deleting, purging, HEAD deleted before VOLUME is marked)
  (TestCatalog_ForkReplayRefusesADeletingTarget);
- the cluster-spec import re-creates and places a reserved id after a
  restart with the original spec (TestClusterSpecImportSkipsAReserved
  Volume).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 21:06:23 -08:00
pingqiu f9da1a371d fix: register desired volumes from complete cluster specifications 2026-11-15 17:21:12 -08:00
pingqiu 6f7ab89ac3 feat: bind guarded workspace moves to qualified HEAD holders 2026-11-15 10:05:23 -08:00
pingqiu 8f8d369746 phase167: add opt-in parallel WAL candidate 2026-07-29 20:04:44 -07:00
pingqiu 20e5dda45c phase152: gate multiblock wal recovery 2026-07-06 22:13:36 -07:00
pingqiu 724cc0e1f1 phase150: wire multiblock wal runtime opt-in 2026-07-06 16:09:34 -07:00
pingqiu 9566f0cc41 phase141: gate nvme max h2c opt-in 2026-07-06 14:47:03 -07:00
pingqiu 3e4c9de914 phase106: wire external nvme tcp publish path 2026-06-29 01:00:46 -07:00
pingqiu 9c86dc5f35 phase98: close failback frontend workload loop 2026-06-26 17:23:41 -07:00
pingqiu 440fa6d467 phase81: add gated failback service rpc 2026-06-26 11:20:36 -07:00
pingqiu 4389be1e7b helm: expose launcher durable impl 2026-05-29 20:30:45 -07:00
Ping Qiu 5c4f995c55 v0.2 alpha: Day-1 activation and first-volume loop (#48)
Package the Kubernetes alpha into a script-based Day-1 activation loop: activate the stack, create the first PVC-backed volume, verify writer/reader data, collect product-owned observation evidence, render a local read-only report, and clean up.

Includes multi-node-safe activation defaults, first-volume example automation, read-only ops report output, README/quickstart/release note updates, and review-driven hardening for fail-fast configuration, promotion evidence, inventory fail-closed behavior, and test guards.

Validated by Day-1 activation run 20260517-205252-04e9 and read-only report run 20260517-212358-bfba. Local targeted tests passed.
2026-05-18 16:43:35 -07:00
Ping Qiu e387d4e4bb ops: add light-use operations and placement gates (#47)
Add the light-use operations path for Seaweed Block alpha users.

This includes per-volume status bundles, cluster inventory, product-owned blockvolume lifecycle, durable restart/reattach evidence, same-node alpha placement checks, TestOps control data, and the supporting runner-native gates and QA close reports.

The next active plan is Basic Mounted Failover And Reattach MVP, which carries RF=2/RF=3 recovery work forward without claiming it closed in this milestone.
2026-05-13 01:31:21 -07:00
Ping Qiu dfa31007a1 testops: add beta hardening gates and storage readiness evidence
Adds the beta-hardening test and operations foundation for Seaweed Block, including runner-native protocol/beta gates, CSI lifecycle and durable restart coverage, iSCSI/NVMe protocol release gates, returned-replica evidence, read-only operations status reports, OS initiator compatibility gates, and fast iSCSI L2 durable restart/reconnect coverage.
2026-05-11 10:38:00 -07:00
Ping Qiu 6dd9dc33e2 docs: close iSCSI/NVMe protocol readiness plan (#44)
Close the current protocol-readiness plan and move active work to V2 parity and hardening.

The release gate now covers iSCSI ALUA/failover, NVMe ANA/multipath/failover, CSI protocol selection, and the iSCSI compatibility soak. Test layering is documented so default Go tests stay unit/component scoped, local subprocess tests are opt-in, and Linux lab coverage remains in runner-native TestOps suites.
2026-05-09 11:34:39 -07:00
pingqiu e314bef5e3 test: address frontend gate review comments 2026-05-06 17:12:49 -07:00
pingqiu 0598abcf4d test: pin bare blockmaster volume services 2026-05-06 15:31:12 -07:00
pingqiu e1c06fd911 k8s: wire iSCSI CHAP secret into alpha path 2026-05-05 00:55:14 -07:00
pingqiu 6b6990abf2 launcher: support pvc owner references 2026-05-04 17:47:33 -07:00
pingqiuandClaude Opus 4.7 57d339d2e7 docs(cmd): drop internal phase/gate prefixes from remaining cmd entry points
Tier 1 continuation: blockmaster, blockcsi, m01verify, sparrow main +
s5_bootstrap + s7_restart_smoke. Removes P14 / P15 / G5-5 / G15a phase
prefixes from package docs, --help flag descriptions, and exported
function godocs.

Substantive content kept (durable bootstrap contract, restart smoke
contract, byte-equal verifier semantics). No behavior change.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-03 15:41:45 -07:00
pingqiu 629bee0dc7 G15e: clean lifecycle placement and stale manifests 2026-05-03 14:18:42 -07:00
pingqiu 7aa0db8a57 G15d: fix dynamic launcher iSCSI bind 2026-05-03 11:49:39 -07:00
pingqiu 552fecb6b7 G15d: write launcher blockvolume manifests 2026-05-03 11:17:15 -07:00
pingqiu f0310a040d G15d: import cluster spec node inventory 2026-05-03 11:03:17 -07:00
pingqiu 56888d30b2 G9G-3: drive product loop from cluster spec YAML 2026-05-03 07:06:45 -07:00
pingqiu f3b0f83c7f G9G: seed placement intent through blockmaster flag 2026-05-03 06:46:27 -07:00
pingqiu 962160dbc3 G9G: verify product loop assignment in subprocess L2 2026-05-03 06:20:21 -07:00
pingqiu 70a75606af G9D: wire lifecycle stores into blockmaster 2026-05-02 20:54:57 -07:00
pingqiu 098a274219 G8: primary-kill failover through degraded snapshot 2026-05-02 15:01:26 -07:00
pingqiuandClaude Opus 4.7 02fdb71c7d blockmaster: --expected-slots-per-volume flag (was hardcoded 3)
cmd/blockmaster/main.go hardcoded ExpectedSlotsPerVolume: 3 in the
TopologyControllerConfig. The TopologyController's
validateVolumeTopology rejects every observation snapshot whose
slot count differs from this value, returning an error from
SubmitObservedState that propagates back to the observation host
without a master-log line.

Result with a 2-node smoke topology (m01-primary + m02-replica):
master is silent, no assignments minted, volumes timeout at
durable open with frontend.ErrNotReady — the symptom QA hit
during G5-4 cross-node bring-up.

Fix: add --expected-slots-per-volume CLI flag, default 3
(production RF=3 unchanged). 2-node smoke clusters pass
--expected-slots-per-volume 2.

Long-term refactor (separate ticket): the validator should
compare snapshot slot count against the topology's per-volume
slot count, not a single global config — that's the real
per-volume RF model.

Refs: sw-block/design/v3-phase-15-g5-m0102-bringup-answer.md

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-26 10:37:13 -07:00
wzcheng99 55793d49bc T0 closure: blockmaster/blockvolume hosting + D1-D5 tests
Product binaries (cmd/blockmaster, cmd/blockvolume) and
core/host wiring for volume-scoped assignment delivery,
durable authority with Windows rename retry, and the T0
closure test set (D1 L2 subprocess, D2 G1 adversarial,
D3 concurrent write-reload regression, D4 hosting-smoke
scenario + Go-native replay, D5 --topology flag).

Diagnostic surfaces: ObservationStore.SupersededCount
(PCDD-DELAYED-HB-001 evidence, not authority input) and
SetNowForTest clock seam on Store/Host, guarded by grep
test ensuring the identifier stays out of production files.
2026-04-21 02:02:52 -07:00