Commit Graph
2983 Commits
Author SHA1 Message Date
Ping Qiu 1bb1d0f46e Merge pull request #516 from seaweedfs/docs/snapshot-slot-refusal
docs: operator guide: retry a snapshot refused for a busy host slot with the same request id
2026-11-23 14:02:04 -08:00
pingqiuandClaude Opus 5.5 924f933873 docs: operator guide: a snapshot refused for a busy host slot is retried with the same request id
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 13:52:55 -08:00
Ping Qiu 4a8a4e9ef1 Merge pull request #515 from seaweedfs/test/f1-retry-slot-refusal
test: F1 resends a snapshot refused for a busy host slot (bounded, same request id)
2026-11-23 13:35:27 -08:00
pingqiuandClaude Opus 5.5 ceca03943d test(blockvolume): F1's not-admitted failure carries the whole refusal body
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 13:24:42 -08:00
pingqiuandClaude Opus 5.5 f4f4d0da91 test(blockvolume): F1_SLOT_RETRY_SECONDS accepts 0 (the negative control)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 13:22:06 -08:00
pingqiuandClaude Opus 5.5 58c5b68294 test(blockvolume): F1 retry bound = the snapshot command's deadline; not admitted fails; not_run restore rows
The retry bound is the snapshot command's 60 s operation bound
(F1_SLOT_RETRY_SECONDS, 0 = no retry, the negative control). A snapshot
still refused at the bound fails the rung as not admitted; restore_exact
reads "not_run" for it, never false. The slot wait is reported and the
write window starts at the admitted attempt.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 13:16:41 -08:00
pingqiuandClaude Opus 5.5 09346d4de9 test(blockvolume): F1 resends a snapshot refused for a busy host slot
N volumes snapshot at the same instant against fewer host slots; the slot
refusals (host_slot_busy, capture_refused from the host limiter) are
retryable by contract. F1 now resends them with the same request id every
250 ms for up to 120 s, records the count per round, and keeps the wait in
the request-to-commit time the starvation bound checks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 13:10:59 -08:00
Ping Qiu c7862d7b2c Merge pull request #514 from seaweedfs/test/harness-run-log
test: the procedure harness logs every sw-block command's argv, exit status and output
2026-11-23 12:53:55 -08:00
Ping Qiu cd71058f8c Merge pull request #513 from seaweedfs/test/harness-volume-helpers
test: harness parsers take the volume; pattern() refuses a partial block
2026-11-23 12:53:34 -08:00
pingqiuandClaude Opus 5.5 3f7c1e40d6 test(blockvolume): the command log stops at the test's end
A runCLI goroutine that outlives its test would make t.Logf panic; a done
flag set in t.Cleanup turns logCommand into a no-op from then on.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 12:42:17 -08:00
pingqiuandClaude Opus 5.5 e60f642d81 test: gofmt
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 12:40:49 -08:00
pingqiuandClaude Opus 5.5 2948987d84 test: harness parsers take the volume; pattern() refuses a string that does not divide a block
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 12:40:31 -08:00
pingqiuandClaude Opus 5.5 320fbc8411 test(blockvolume): the procedure harness logs every sw-block command
h.run and runCLI write each command's argv, exit status and output (each
stream capped at 4 KiB) to the test log, so a refusal is visible without a
rerun.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 12:40:02 -08:00
Ping Qiu 68b3436162 Merge pull request #512 from seaweedfs/docs/wrong-geometry-cure
docs: operator guide: the cure for a start with the wrong --durable-blocks, guard first
2026-11-23 12:31:09 -08:00
Ping Qiu f530996b04 Merge pull request #511 from seaweedfs/test/wrong-geometry-cure
test: the wrong --durable-blocks cure run as written, guard first
2026-11-23 12:19:27 -08:00
pingqiuandClaude Opus 5.5 8877cc6d3e docs: scope the wrong-geometry cure to a volume's first start
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 12:14:22 -08:00
pingqiuandClaude Opus 5.5 bf44e7bbf9 test(blockvolume): the cure's order: stop first, then the guard
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 12:11:14 -08:00
pingqiuandClaude Opus 5.5 d565e7e140 docs: stop first, then the guard, then remove; name the message; what the guard does not cover
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 12:11:10 -08:00
pingqiuandClaude Opus 5.5 dea5e6a6dc docs: operator guide: the cure for a start with the wrong --durable-blocks, guard first
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 12:10:37 -08:00
pingqiuandClaude Opus 5.5 ff124a5a75 test(blockvolume): the wrong --durable-blocks cure run as written, guard first
A blockvolume started with half the spec's --durable-blocks creates its
local store at that size, never claims HEAD and exits 75; a right-flag
start then fails on geometry_mismatch. The test checks the guard (ops chunk
show: epoch 0, no holder), removes the four local files, starts with the
right flags and serves; the guard then reads as claimed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 12:09:55 -08:00
Ping Qiu 1c0b9ac976 Merge pull request #510 from seaweedfs/test/f1-writer-deadline
test: F1 load writer renews its NVMe/TCP deadline per write; a round with no write in the cut fails
2026-11-23 11:40:03 -08:00
pingqiuandClaude Opus 5.5 52f6085590 test(blockvolume): F1 fails a round in which no load write met the cut
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 11:30:32 -08:00
pingqiuandClaude Opus 5.5 d8233a99e4 test(blockvolume): F1 load writer renews its NVMe/TCP deadline per command
dialNVMe sets one deadline 60 s after the dial; the F1 writer runs for
F1_WRITE_SECONDS (120 by default), so the connection timed out after about
4096 writes, just as the snapshots began. Each write now gets its own 30 s
deadline.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 11:25:01 -08:00
Ping Qiu d85aa71141 Merge pull request #507 from seaweedfs/docs/procedure-gate-not-run
docs: operator guide command table from the 1.0 procedure gate (runs and not-run rows)
2026-11-23 10:22:19 -08:00
Ping Qiu 5372427463 Merge pull request #506 from seaweedfs/test/blockmaster-skew-refusal-binary
test: blockmaster refuses a clock-skew bound at or below its fence-exit budget (real binary)
2026-11-23 10:21:58 -08:00
pingqiuandClaude Opus 5.5 4ed3368da8 docs: operator guide command table: the skew-bound refusal and its binary test
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 10:14:39 -08:00
pingqiuandClaude Opus 5.5 1b55e79594 test: blockmaster refuses a clock-skew bound at or below its fence-exit budget, run on the real binary
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 10:14:19 -08:00
pingqiuandClaude Opus 5.5 bf8d101c82 docs: operator guide command table: the procedures the procedure gate found run (headroom, disk full, store outage) and the ones not run in 1.0
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 10:10:50 -08:00
Ping Qiu b54c133b32 Merge pull request #505 from seaweedfs/docs/headroom-source-not-blocked
docs: a target refused for local room does not block its source, and keeps its data
2026-11-23 09:37:40 -08:00
pingqiuandClaude Opus 5.5 8e313361a3 docs: a target refused for local room does not block its source, and keeps its data
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 09:31:25 -08:00
Ping Qiu cfa62b3ff1 Merge pull request #504 from seaweedfs/docs/headroom-second-way-out
docs: a target refused for local room also recovers on another durable root of the same host
2026-11-23 09:03:30 -08:00
Ping Qiu 5e3a62fab6 Merge pull request #503 from seaweedfs/test/headroom-blast-radius
test: a headroom-refused target does not block its source's deletes, and restarts on another root
2026-11-23 08:59:00 -08:00
pingqiuandClaude Opus 5.5 093435fcbe docs: hold the source-delete sentence until its data check has run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 08:51:08 -08:00
pingqiuandClaude Opus 5.5 588e4bdaad test: a headroom-refused restore target reads its snapshot exactly after its source is deleted and collected
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 08:50:49 -08:00
Ping Qiu d0a3d14c1b Merge pull request #482 from seaweedfs/test/master-crash-workspace-resume
test: recover an issued clean move after master SIGKILL
2026-11-23 08:49:19 -08:00
pingqiuandClaude Opus 5.5 9cdde83092 docs: a target refused for local room also recovers on another durable root of the same host, and does not block its source's deletes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 08:48:38 -08:00
pingqiuandClaude Opus 5.5 ba9d12af75 test: pin the observed outcomes: another root on the same host serves; the source's snapshot and volume delete normally
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 08:46:40 -08:00
pingqiuandClaude Opus 5.5 31e6339b26 test: a headroom-refused target's blast radius on the source's deletes, and a restart on another root of the same host
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 08:20:28 -08:00
Ping Qiu 89c57de69f Merge pull request #501 from seaweedfs/test/store-down-staged-no-local-space
test: store down during a cut: a staged cut uses no local copy-on-write space (asserted)
2026-11-23 08:07:46 -08:00
Ping Qiu f4e724a389 Merge pull request #498 from seaweedfs/test/headroom-restore-fork
test: a restore and a fork target without local headroom are refused, then served once space is freed
2026-11-23 08:02:21 -08:00
Ping Qiu 5302496017 Merge pull request #502 from seaweedfs/docs/store-outage-operator-guide
docs: operator guide: what a SeaweedFS outage does to a volume, as measured
2026-11-23 08:01:40 -08:00
pingqiuandClaude Opus 5.5 a0910e8dbf docs: store-outage bullet says only what was measured
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 07:50:39 -08:00
pingqiuandClaude Opus 5.5 f9d30f8f5e test: headroom runner script in testdata, exact replica-floor check, pinned delete refusal, distinct request ids, the per-volume limit asserted
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 07:47:24 -08:00
pingqiuandClaude Opus 5.5 f59ca8ce36 test: store down during a cut: assert that a staged cut uses no local copy-on-write space
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 07:47:09 -08:00
pingqiuandClaude Opus 5.5 2b491706c2 docs: operator guide: what a store outage does to a volume, as measured
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 07:46:52 -08:00
Ping Qiu 81037c1b20 Merge pull request #500 from seaweedfs/docs/headroom-one-way-out
docs: a target refused for local room has one way out, freeing space
2026-11-23 07:44:43 -08:00
Ping Qiu 9deb6a7d41 Merge pull request #497 from seaweedfs/test/store-down-during-cut
test: filer or volume server down during a cut, then back (real binaries)
2026-11-23 07:38:57 -08:00
pingqiuandClaude Opus 5.5 7365944675 test: headroom pins the forced move refused for a never-started target; the one way out (free space) runs for v4 and v6
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 07:37:01 -08:00
pingqiuandClaude Opus 5.5 6297deedc1 docs: a target refused for local room has one way out, freeing space; a forced move is refused for it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 07:36:31 -08:00
pingqiuandClaude Opus 5.5 9c341c49ec test: headroom reports the forced move's last dry-run answer when it is never admitted
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 07:32:56 -08:00