Commit Graph
3468 Commits
Author SHA1 Message Date
pingqiuandClaude Opus 5.5 ac3bcbb0f5 test: a restore and a fork target on a durable root without room are refused, leave no file, and serve once space is freed
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 06:39:18 -08:00
Ping Qiu c8c7c01d88 Merge pull request #495 from seaweedfs/test/master-loss-silent-drop
test: master loss by a silent drop fences the holder before a forced move
2026-11-23 06:34:10 -08:00
Ping Qiu b5bb05ce5f Merge pull request #496 from seaweedfs/docs/m1-create-refused-edge
docs: M1 diagram edge CreateRefused (#490 follow-up)
2026-11-23 06:33:39 -08:00
Ping Qiu ef4c1e747e Merge pull request #494 from seaweedfs/test/headroom-followup
test: headroom tests clean up at once and fail on walk errors (#490 follow-up)
2026-11-23 06:33:17 -08:00
pingqiuandClaude Opus 5.5 a76288e82f test: store down during a cut: a variant past the cut's copy-on-write reserve, outcome recorded
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 06:26:29 -08:00
pingqiuandClaude Opus 5.5 733c505d42 test: filer or volume server down during a cut, then back (real binaries)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 06:19:13 -08:00
pingqiuandClaude Opus 5.5 a7b3151e84 test: disk full: #486 is fixed by #487, its row is strict
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 06:18:58 -08:00
pingqiuandClaude Opus 5.5 faedc7fced docs: M1 diagram edge CreateRefused; the table row named to match
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 06:18:32 -08:00
pingqiuandClaude Opus 5.5 1b63fa51fe test: keep this PR test-only (the invariants edge moves to its own docs PR)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 06:18:29 -08:00
pingqiuandClaude Opus 5.5 d5d635e08c test: master loss by a silent drop (connections open, no bytes forwarded): renewals hang to their timeout, the holder still fences and exits before a forced move
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 06:17:55 -08:00
Ping Qiu 85c2bf89b0 Merge pull request #475 from seaweedfs/test/round2-plain-detach-kill
test: continue a planned handover after a mid-detach process kill
2026-11-23 06:15:55 -08:00
Ping Qiu 6f50e49cd1 Merge pull request #489 from seaweedfs/docs/local-disk-full-operator-guide
docs: operator guide: local disk sizing and full-disk behaviour; --host-limit-dir placement
2026-11-23 02:44:51 -08:00
pingqiuandClaude Opus 5.5 1fe7c24ef4 docs: the create-time headroom refusal in the operator guide; release note
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 02:34:49 -08:00
pingqiuandClaude Opus 5.5 69a52a1b79 docs: operator guide: size the local disk, what a Linux guest sees when it fills, and where --host-limit-dir goes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 02:34:48 -08:00
pingqiuandClaude Opus 5.5 732217f01d test: disk full as ruled: writes resume after freeing (asserted), a cut with the limit dir full fails closed naming the disk (#485 no longer a finding), the headroom refusal accepted for a new volume
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 02:33:37 -08:00
pingqiuandClaude Opus 5.5 6b56d70873 test: disk-full kernel initiator connects with its own host ID
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 02:33:37 -08:00
pingqiuandClaude Opus 5.5 ddab2fa650 test: disk full seen by the Linux kernel NVMe/TCP initiator (records dd, dmesg, behaviour after freeing)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 02:33:37 -08:00
pingqiuandClaude Opus 5.5 4f3fcb36e8 test: disk full: each filed defect (#484 #485 #486) is a known-finding row, strict once removed from the list
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 02:33:37 -08:00
pingqiuandClaude Opus 5.5 2de49cf295 test: disk-full filler ends with 4 KiB writes so no small file fits
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 02:33:37 -08:00
pingqiuandClaude Opus 5.5 141d21c355 test: disk full, new volume: a faulted-and-up answer naming ENOSPC is accepted; the next start works over the partial create
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 02:33:37 -08:00
pingqiuandClaude Opus 5.5 9465248b78 test: disk-full harness: 512 MiB root, room for the volume's own data once the filler is gone
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 02:33:37 -08:00
pingqiuandClaude Opus 5.5 bff08486b7 test: disk full: write past the preallocated WAL; stop v1 before the new-volume case
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 02:33:37 -08:00
pingqiuandClaude Opus 5.5 9627030aea test: disk full: documented error class (0x0104 only without ENOSPC), reads while full, restart while full, limiter fails open and detach --plain seals, 20 s bound
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 02:33:37 -08:00
pingqiuandClaude Opus 5.5 29ba251700 test: local disk full with real binaries (WAL mid-I/O, a new durable root, the host-limit dir)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 02:33:37 -08:00
pingqiuandClaude Opus 5.5 05abcee55b test+docs: headroom tests clean up at once and fail on walk errors; M1 diagram edge CreateRefused
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 02:33:12 -08:00
Ping Qiu 2129a73620 Merge pull request #493 from seaweedfs/train/20261123-33
release: OSS train 33 (urgent fallback uploads unpaced #487; ENOSPC retry log rate-limited #488; local headroom check at create and open #490)
2026-11-23 02:30:41 -08:00
pingqiu bca523c964 Merge branch 'pr490' into HEAD 2026-11-23 01:50:52 -08:00
pingqiu f3062adf5a Merge branch 'pr488' into HEAD 2026-11-23 01:50:52 -08:00
pingqiu 59ad907ca6 Merge branch 'pr487' into HEAD 2026-11-23 01:50:52 -08:00
pingqiuandClaude Opus 5.5 24b9432574 docs: INV-HOST-CUT-BUDGET-FALLBACK-001 statement under 300 characters
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 01:48:18 -08:00
pingqiuandClaude Opus 5.5 98d87777aa fix(durable): headroom guard before any sidecar; the open warning counts data growth apart from the WAL; M1 trace row
Review: a refused chunk create left its fresh marker; a fresh 256 MiB store
(WAL only allocated) with 256 MiB free gave no warning.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 01:41:58 -08:00
pingqiuandClaude Opus 5.5 29c4c2ef83 docs: invariants Part B count for INV-LOCAL-HEADROOM-001
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 01:36:57 -08:00
pingqiuandClaude Opus 5.5 c1f1602d1d docs: INV-LOCAL-HEADROOM-001 (create refused without local headroom; warning at start)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 01:35:29 -08:00
pingqiuandClaude Opus 5.5 2326e24707 fix(storage): a latched store fault with ENOSPC as its cause is logged every time; only a retried ENOSPC is limited
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 01:34:16 -08:00
Ping Qiu ae74c4143f Merge pull request #477 from seaweedfs/test/round2-master-revoke-kill
test: finish a revocation after the master is killed
2026-11-23 01:23:32 -08:00
pingqiuandClaude Opus 5.5 d8d1f3b4d2 fix(durable): refuse to create a volume without local room for its size and WAL; warn at open when the growth no longer fits
A full local disk fails guest writes (a Linux guest sees EREMOTEIO after
about 75 s), so the defence is headroom (V1-SPEC r2.60, issue 484): create
needs free space >= volume size + the 64 MiB WAL, and the refusal names both
numbers; an existing volume opens, with a loud warning, when its remaining
sparse growth + WAL exceed the free space. No new state.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 01:23:06 -08:00
pingqiu 828f29aad8 test: clarify lease probe and failure diagnostic limits 2026-11-23 01:07:05 -08:00
pingqiu 95b0504ab3 test: read interrupted seal image from fresh move target 2026-11-23 01:06:45 -08:00
pingqiuandClaude Opus 5.5 1a77477892 fix(hostlimit): uploads go unpaced only while every live lease is a fallback lease; wrapper test
A healthy lease admitted beside an urgent fallback lease kept no pacing
(review). The pacing error wrapper now has a test: prefix, cause, no put.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 01:04:10 -08:00
pingqiuandClaude Opus 5.5 88ee1b22b5 test(storage): ENOSPC on the WAL append itself is the latched permanent fault
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 01:00:01 -08:00
pingqiuandClaude Opus 5.5 64b541d7fb fix(storage): the flusher logs a retried ENOSPC once per 30 s with a count
On a full local disk every flusher cycle failed its extent write with ENOSPC
and logged it, about 100 lines in 10 s. Terminal errors stay unlimited.
Issue 484.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 00:58:32 -08:00
pingqiu 834945d219 test: match the clean-move CLI definite refusal response 2026-11-23 00:56:48 -08:00
pingqiu ba75c99853 test: reject competing moves and a returning source after master crash 2026-11-23 00:55:10 -08:00
pingqiuandClaude Opus 5.5 30dafdbb1e docs: INV-HOST-CUT-BUDGET-FALLBACK-001: the urgent fallback does not pace uploads
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 00:54:57 -08:00
pingqiuandClaude Opus 5.5 598e8f9899 fix(hostlimit): an urgent cut on the static fallback is not rate-paced; a pacing error names the limiter
On a full or unusable --host-limit-dir only urgent work (the seal at stop)
runs, on the static fallback. Pacing it at BytesPerSecond/FallbackVolumes
(320 KiB/s by default) made detach --plain time out, reported as 'chunk
remote unavailable'. With no shared cap to protect it is not paced now, and
an upload-pacing error says so. Issue 486.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 00:53:13 -08:00
pingqiu 1d28572996 test: use procedure parser request id for move replay 2026-11-23 00:32:58 -08:00
pingqiu 54f278cf94 test: recover an issued clean move after killing blockmaster 2026-11-23 00:32:00 -08:00
Ping Qiu 86ac412577 Merge pull request #479 from seaweedfs/fix/workspace-skew-exit-margin
blockmaster: refuse workspace skew below the fence exit margin
2026-11-23 00:29:35 -08:00
Ping Qiu bf48e5ea33 Merge pull request #481 from seaweedfs/test/backend-refuses-write-after-fence
test: the durable backend refuses a write after the lease guard fences
2026-11-23 00:29:05 -08:00
Ping Qiu 02f63e9aa6 Merge pull request #480 from seaweedfs/docs/delete-procedure-tested
docs: the delete procedure and two crash procedures are tested
2026-11-23 00:15:55 -08:00