Commit Graph
2770 Commits
Author SHA1 Message Date
Ping Qiu cd88e06e1a Merge pull request #460 from seaweedfs/test/catalog-abandoned-snapshot
test: catalog restart after a snapshot create abandoned at each step
2026-11-22 21:44:44 -08:00
Ping Qiu df08857048 Merge pull request #463 from seaweedfs/test/enable-takeover-data-check
test: enable takeover image checks in the default suite
2026-11-22 21:44:06 -08:00
Ping Qiu b55a765426 Merge pull request #465 from seaweedfs/docs/master-clock-safety-premise
docs: require slewed blockmaster clocks for live leases
2026-11-22 21:17:15 -08:00
Ping Qiu deb448d583 Merge branch 'main' into test/enable-takeover-data-check 2026-11-22 21:15:10 -08:00
Ping Qiu 79ef65df50 Merge pull request #469 from seaweedfs/docs/store-durability-premise
docs: state the SeaweedFS durability premise
2026-11-22 21:15:02 -08:00
Ping Qiu d2dd5f1c23 Merge pull request #468 from seaweedfs/test/sync-control-deadline
test: sync control child runs to the parent test deadline, not a fixed 45 s
2026-11-22 21:14:40 -08:00
Ping Qiu 54d65984cc Merge pull request #467 from seaweedfs/test/single-volume-gap1
test: kill -9 with I/O in flight and at each cut stage (single-volume gaps 1, 2)
2026-11-22 21:13:16 -08:00
Ping Qiu 92d33ee3d8 Merge pull request #466 from seaweedfs/test/workspace-move-register-source
test: refresh production workspace-move fixture
2026-11-22 21:12:54 -08:00
pingqiuandClaude Fable 5.2 800b392428 docs: state the SeaweedFS durability premise
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-22 20:31:26 -08:00
Ping Qiu 0c7d943ab1 Merge pull request #457 from seaweedfs/test/delete-empty-wal-test-files
test: delete the five WAL test files that hold no test
2026-11-22 20:24:30 -08:00
Ping Qiu cf53a7a519 Merge pull request #455 from seaweedfs/test/attach-lookup-error
test: refuse attach after filer HEAD lookup errors
2026-11-22 20:09:52 -08:00
Ping Qiu 6ba54b8935 Merge pull request #459 from seaweedfs/test/invalid-workspace-renewal
test: fence invalid workspace renewal replies before expiry
2026-11-22 20:09:24 -08:00
pingqiuandClaude Opus 5.5 4744b8a4c0 test: one context assignment per branch so no cancel is lost
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 19:26:09 -08:00
pingqiuandClaude Opus 5.5 399bc7699f test: sync control child runs to the parent test deadline, not a fixed 45 s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 19:01:21 -08:00
pingqiuandClaude Opus 5.5 523b0f03c5 test: chunk verify at depth data needs its explicit --timeout
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 18:48:37 -08:00
pingqiuandClaude Opus 5.5 e3c6505797 test: cut crash tests: the dying cut has its own deadline; the procedure kill adapts until it lands mid-upload
The unit ladder's dying cut retried its failing uploads until a context it
shared with the restarted process expired; it now has its own short
context. The procedure test proves the kill landed mid-upload (new chunk
objects on the filer, HEAD unchanged) and otherwise adapts the delay and
repeats with a new image. The fresh-root test kills once 8 writes are
flushed, so the reader is still filling.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 18:43:07 -08:00
pingqiu 9fa795b3ad test: wait for authoritative forced-move admission preview 2026-11-22 18:34:48 -08:00
pingqiu 91c2510d5b test: expect current segmented HEAD format in clean move 2026-11-22 18:34:05 -08:00
pingqiu de858e67fc test: register source server in workspace move fixture 2026-11-22 18:33:02 -08:00
pingqiuandClaude Opus 5.5 e4ee17cdfc test: fresh-root crash test uses the move request id the harness checks; clearer survivor log
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 18:32:49 -08:00
pingqiu 20fafb4927 docs: state live-lease blockmaster clock safety premise 2026-11-22 18:30:36 -08:00
Ping Qiu 251d78bfa8 Merge pull request #456 from seaweedfs/docs/snapshot-names
docs: snapshot names and retries
2026-11-22 18:28:22 -08:00
pingqiu b5d87e313b test: keep attach fixture setup outside the injected-error oracle 2026-11-22 18:27:25 -08:00
pingqiuandClaude Opus 5.5 41332710a7 test: kill -9 during a cut's upload with real binaries, restart, read back
Single-volume coverage gap 2, procedure part (cells P8.7, P9.4, P11.3;
V1-SPEC r2.55): image A is cut, every block rewritten (image B), and the
holder SIGKILLed half-way through the second cut. After the restart HEAD
verifies whole at depth data, the volume reads B, and the next cut,
restored into a new volume through a snapshot, is B.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 18:25:36 -08:00
pingqiuandClaude Opus 5.5 78517f7b34 test: kill -9 mid-cut at each stage, restart, next cut publishes the volume
Single-volume coverage gap 2, unit part (cells P5.4, P6.4, P8.7, P9.4,
P10.4, P11.3; V1-SPEC r2.55): a cut dies after admission, at the barrier,
during the upload, before the HEAD CAS and after the CAS applied (before
its reply). The process death closes the store without cleanup and loses
every later remote call. After the restart HEAD is whole (old before the
CAS, new after it), every synced local write reads back, and the next cut
publishes the volume as it is.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 18:24:37 -08:00
pingqiu 83d4dd1cb6 test: enable takeover image checks at the production claim seam 2026-11-22 18:23:18 -08:00
pingqiuandClaude Opus 5.5 ee0fb26cc7 test: catalog restart after a snapshot create abandoned at each filer step
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 18:21:20 -08:00
pingqiu 6b52cd53ae test: fence invalid workspace renewal replies before expiry 2026-11-22 18:21:17 -08:00
pingqiuandClaude Fable 5.2 d3a35df524 docs: snapshot names and retries
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-22 18:19:38 -08:00
pingqiuandClaude Opus 5.5 5cf01ed1ba test: delete the five WAL test files that hold no test
Single-volume coverage side finding (c) (V1-SPEC r2.55):
walstore_sticky_fsync_test.go, walstore_midhistory_hole_test.go,
walstore_checkpoint_crash_linux_test.go and walstore_checkpoint_safety_test.go
held only helpers or constants with no caller (their tests were retired
with format v2; docs/design/format-v3-legacy-test-inventory.md lists them
and their v3 replacements). walstore_recovery_hardening_test.go keeps its
one used helper, crashRecoveryHardeningStore. A comment that pointed at a
deleted file is removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 18:19:33 -08:00
pingqiuandClaude Opus 5.5 013a9ac19c test: kill -9 on a fresh root with fills in flight, restart, read back
Single-volume coverage gap 1, cell A3.5 (V1-SPEC r2.55): after a clean move
to s2 (fresh root, lazy hydration), a reader walks 60 chunks that only HEAD
holds while a writer streams Flush-acknowledged writes into other chunks;
s2 is SIGKILLed mid-walk and restarted at the same epoch; every source
chunk must read back (fills redone) and every acknowledged write survive.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 18:17:50 -08:00
pingqiuandClaude Opus 5.5 f7c329672b test: kill -9 with guest I/O in flight, restart, read back every acked block
Single-volume coverage gap 1, cell A2.4 (V1-SPEC r2.55): a qd1 NVMe/TCP
writer streams distinct blocks with a Flush every 8 writes; the holder is
SIGKILLed mid-stream and restarted inside the lease at the same epoch;
every Flush-acknowledged write must read back, and what survives past the
last acknowledged Flush must be a prefix of the stream, untorn.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 18:16:37 -08:00
pingqiu 9970fb2c4e test: refuse attach on filer HEAD lookup errors 2026-11-22 18:16:20 -08:00
Ping Qiu 598668d0bc Merge pull request #452 from seaweedfs/test/snapshot-ladder-f1
test: snapshot ladder rung F1 (N volumes on one host)
2026-11-22 17:32:26 -08:00
pingqiuandClaude Opus 5.5 3f42d19401 test: F1 negative control for the heartbeat watch (F1_CONTROL_PAUSE_SECONDS)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 17:17:33 -08:00
pingqiuandClaude Opus 5.5 1f757bb78b test: F1 watches heartbeat health: slot expiries, their effects, superseded lines
V1-SPEC r2.53. The rung polls the master's view of every source volume's
replica each second (GetVolumeStatus) and records each span the master does
not observe it, epoch changes and frontend-not-ready polls; it counts the
master's per-slot "heartbeat superseded" lines per volume. Pass rule: zero
slot expiries.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 17:16:28 -08:00
pingqiuandClaude Opus 5.5 57432c20da test: F1 comment cites the spec, not a seat
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 17:12:15 -08:00
pingqiuandClaude Opus 5.5 80b097c87e test: F1 load paced across the write period; filer entries per snapshot
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 17:10:16 -08:00
pingqiuandClaude Opus 5.5 ce2ca830ae test: F1 blocks are exactly 4096 bytes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 17:09:03 -08:00
pingqiuandClaude Opus 5.5 76cf29e7e0 test: snapshot ladder rung F1 harness (N volumes, one server id, one host)
V1-SPEC r2.49/r2.52. Opt-in (F1_RUN=1, a large test, never in CI): N
blockvolume processes under ONE server id, each its own replica id and
ports, snapshotted at the same instant per round under write load; every
snapshot restored and verified (ledger exact, load a prefix); the JSON
report carries cut time and barrier pause, client write p50/p99/max inside
and outside snapshot windows, request-to-commit time, host-slot waits,
restore time, chunks/bytes uploaded, filer entries per round and RSS. The
procedure harness's bvHost gains optional server and replica ids.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 16:56:04 -08:00
Ping Qiu 6ceca492b9 Merge pull request #450 from seaweedfs/docs/volume-delete
docs: how to delete a volume
2026-11-22 16:15:22 -08:00
pingqiu 221d7f298c Merge remote-tracking branch 'origin/main' into docs/volume-delete 2026-11-22 16:01:10 -08:00
Ping Qiu 6579c5c8a2 Merge pull request #447 from seaweedfs/test/snapshot-ladder-a
test: snapshot ladder A1-A4 on one volume
2026-11-22 16:00:17 -08:00
pingqiuandClaude Fable 5.2 84252ed21f docs: how to delete a volume; README states the real delete rule
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-22 15:56:42 -08:00
pingqiuandClaude Opus 5.5 bb1cf531d5 test: snapshot ladder folds: timer and schedule pinned off, edge blocks read, A3 three repetitions
The ladder's blockvolumes run with --chunk-capture-interval 0 and
--chunk-snapshot-schedule off, so A2 counts only its own snapshot's
uploads. A1, A2 and A4 also read a block in an untouched chunk and the
volume's last block through the restore. A3 runs three snapshots that start
after 0, 40 and 120 of their writes, logs the prefix each holds, and fails
as inconclusive if every one landed before or after all its writes. The
header says an A test never deletes a snapshot or runs GC.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 15:27:24 -08:00
pingqiuandClaude Opus 5.5 1f816a664a test: snapshot ladder A3 (writes during a snapshot) and A4 (A, B, A)
A3: blocks written one after another while snapshot 2 runs; its restore
holds a prefix of those writes (one point in time) and snapshot 3 holds
them all. A4: one block holds A, B, then A again with a snapshot after
each; the three restores read A, B, A.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 15:20:03 -08:00
pingqiuandClaude Opus 5.5 6eed6f3c85 test: snapshot ladder A1 and A2 on one volume, real binaries
A1: one block written, one snapshot, the snapshot read back block by
block holds that block and zeros around it. A2: an incremental snapshot
holds the volume at its point, the first snapshot is unchanged, and the
second snapshot uploads only the two chunks that changed. A snapshot is
read through the product's own path, a restore into a new volume, so the
tests do not depend on the chunk format. The procedure harness gains
restore-target volumes in the cluster spec, each on a node of its own.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 15:12:47 -08:00
Ping Qiu befbf85315 Merge pull request #446 from seaweedfs/test/invcheck-conflict-markers
test: invcheck refuses merge conflict markers in the ledger files
2026-11-22 14:07:52 -08:00
pingqiuandClaude Opus 5.5 6e4ea872b4 test: invcheck refuses merge conflict markers in the ledger files
A line starting with "<<<<<<< " or ">>>>>>> ", or a line that is exactly
"=======", in docs/design/invariants.md or the lists invcheck reads fails
the test with its file and line. The marker check is pinned on a fixture
that holds a conflicted region and two look-alikes it must not report.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 13:57:28 -08:00
Ping Qiu 7176fef724 Merge pull request #421 from seaweedfs/docs/operator-guide
docs: operator guide, the entry page for standalone v1.0 volumes
2026-11-22 13:53:48 -08:00