Commit Graph
3468 Commits
Author SHA1 Message Date
pingqiuandClaude Opus 5.5 e31d2fb8a9 docs: Part T, the line owner is decided by Host.workspaceLineOwner (on #423)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 03:32:38 -08:00
pingqiuandClaude Opus 5.5 b2ddf6206a test: the barrier-wait start at 40 s; the refusal of another server's assignment counts
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 03:32:08 -08:00
pingqiu 44081b34b4 Merge #406: test the documented standalone planned handover 2026-11-22 03:29:24 -08:00
pingqiu 75b0bc731d Merge #384: hostlimit background cuts wait while urgent work is pending; launch checks
# Conflicts:
#	docs/design/invariants.md
2026-11-22 03:29:24 -08:00
Ping Qiu efa42fe5ec Merge pull request #417 from seaweedfs/train/20261122-20
Train 20: v3 STUB promotion, map prepare prior-live guard, per-package CI limit
2026-11-22 03:28:36 -08:00
pingqiuandClaude Opus 5.5 9efdea867d docs: Part T, serving is decided by StorageBackend.AdmitsIO (on #410)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 03:25:15 -08:00
pingqiu 1da0c2905d fix: use guard fence ownership and one workspace exit decision 2026-11-22 03:22:28 -08:00
pingqiu 329c42bc9c test: host shutdown fence must record the guard terminal cause 2026-11-22 03:20:59 -08:00
pingqiuandClaude Opus 5.5 7cf8c8c961 docs: Part T, the HEAD fence after startup exits on #410
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 03:11:03 -08:00
pingqiuandClaude Opus 5.5 6520134446 docs: Part T binds shared terms to one deciding function each
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 03:09:23 -08:00
pingqiuandClaude Opus 5.5 bc86aeeab0 docs: operator guide, the entry page for standalone v1.0 volumes
What v1.0 supports and the layout rule (blockmaster off every volume
host, and why), install, sizing, the recovery point and what publishes
it, snapshots and the two-step space return, moving and returning a
volume, the steps after a host loss, the stated limits, and every command
on these pages with the test that runs it. The README links it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 02:41:50 -08:00
pingqiu e5e316bf9f docs: explain startup and runtime supersede evidence scope 2026-11-22 02:40:11 -08:00
pingqiu 2e2d7adf76 docs: map displaced claim regression to startup retry invariant 2026-11-22 02:35:56 -08:00
pingqiu 7dfa3127c1 fix: require assigned epoch for foreign claim no-retry proof 2026-11-22 02:25:28 -08:00
pingqiu 3fcbde02a8 test: displaced lower-epoch claim must retry startup 2026-11-22 02:24:47 -08:00
pingqiu f36710e5b5 fix: reject empty supersede identity and bound build pipe cleanup 2026-11-22 02:05:54 -08:00
pingqiu c89e38f5c4 test: empty replica fact cannot suppress workspace restart 2026-11-22 02:04:11 -08:00
pingqiu 9d6b978d83 test: carry holder server in CLI master fixtures 2026-11-22 02:02:31 -08:00
pingqiu 5508d581b5 docs: bind frontend retry mapping to its approved invariant 2026-11-22 02:00:11 -08:00
pingqiu 7c6fbf8a3b Merge #413: give a touched heavy package 20 minutes 2026-11-22 01:59:26 -08:00
pingqiu 649ad323dc Merge #408: v3 map prepare refuses a prior root released before its live-set snapshot
# Conflicts:
#	docs/design/invariants.md
2026-11-22 01:59:26 -08:00
pingqiu d1645e0833 Merge #405: promote 15 format-v3 rows whose statements a default test asserts 2026-11-22 01:59:06 -08:00
pingqiu 6154b7299e test: cover failed placement commits and trace holder guards 2026-11-22 01:56:11 -08:00
pingqiuandClaude Opus 5.5 53618e5d5b test: a holder started inside the barrier wait, and one started too early
Two procedure tests for a holder that returns after its lease ended but
before the re-grant barrier. Started 35 s after the stop (default flags),
the barrier passes within its 30 s authority wait: it must not serve while
its renewals are still refused for the barrier, then serves at the same
epoch. With --workspace-max-clock-skew 50s and a start 31 s after the
stop, its wait ends first: it does not serve and exits 75, and a
supervised restart that waits past the barrier serves at the same epoch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 01:55:57 -08:00
pingqiuandClaude Opus 5.5 1949cf5fa4 docs: which lifecycle procedures run end to end, with their tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 01:52:56 -08:00
pingqiu a46a355f07 fix: share backend retry classification across frontends 2026-11-22 01:52:10 -08:00
pingqiu 95a3a89263 test: pin backend retry classes across iSCSI and NVMe 2026-11-22 01:50:54 -08:00
pingqiuandClaude Opus 5.5 e907fbdd55 test: the lifecycle page's procedures on two hosts with distinct server ids
Five tagged binary tests run the procedures of the volume lifecycle page
as written, on two blockvolume processes with server ids s1 and s2 that
share one blockmaster and one SeaweedFS: the planned hand-over to another
host, a same-host restart inside the lease, a return after a lapsed lease
started 65 s after the stop, a forced move with the old host returning,
and a revoke without an ACK followed by a forced move.

The harness takes N hosts (cluster spec nodes s1..sN); the checks that
read each step's output take the host and stay in the default-build
check file with the existing ones.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 01:50:25 -08:00
pingqiu 90e25b939c fix: validate revocation ACK with the shared holder predicate 2026-11-22 01:46:21 -08:00
pingqiu 6e148b696a test: reject revocation ACK from a different holder server 2026-11-22 01:43:49 -08:00
pingqiu 7fed83180d docs: apply final primary holder invariant wording 2026-11-22 01:41:58 -08:00
pingqiu 447d0b1a3a docs: clarify primary holdership invariant scope 2026-11-22 01:41:44 -08:00
pingqiu 62d7f31912 docs: align holder identity sites with AUTHORITY ruling 2026-11-22 01:38:40 -08:00
pingqiu bd1c8bdb1d Merge remote-tracking branch 'origin/main' into feat/host-urgent-pending
# Conflicts:
#	docs/design/invariants.md
2026-11-22 01:32:40 -08:00
Ping QiuandClaude Opus 5.5 d38f816700 ci: give a touched heavy package 20 minutes
core/storage alone took 602 s under -short on the shared runner on main,
past the 10 minute per-package limit, so a PR that touches it fails on
the limit, not on a test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 01:32:19 -08:00
pingqiu 4814ce613c fix: terminate superseded local roots while retaining move-back diagnostics 2026-11-22 01:29:40 -08:00
pingqiu 4a3a66597a test: superseded existing local holder must exit without retry 2026-11-22 01:28:44 -08:00
pingqiu b1e973761a test: resolve an unknown revocation ACK by its exact recorded witness 2026-11-22 01:26:45 -08:00
pingqiu 3d2081756f docs: keep startup retry statement within ledger limit 2026-11-22 01:26:33 -08:00
pingqiu c2edb7305c fix: carry foreign HEAD claim proof to startup exit classification 2026-11-22 01:26:01 -08:00
pingqiu 6f3aa6090b test: foreign HEAD claim must select no-retry exit 2026-11-22 01:24:06 -08:00
pingqiu a86f07d71a docs: trace holder checks and nonblocking lookup to their invariants 2026-11-22 01:22:26 -08:00
pingqiu 476b5fceb9 fix: keep holder membership lookup off placement writer locks 2026-11-22 01:21:01 -08:00
pingqiu 55226e0f9e docs: pin the approved assignment and lease holder identity invariant 2026-11-22 01:18:16 -08:00
pingqiuandClaude Opus 5.5 3e286b887d docs: name the end-to-end tests of the planned hand-over
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 01:11:10 -08:00
pingqiu d21304dc4f fix: expose foreign-holder refusal in the existing fenced journal 2026-11-22 01:10:06 -08:00
pingqiuandClaude Opus 5.5 4bc8ba094a ci: run the planned hand-over tests against a pinned SeaweedFS release
A step after the default pass runs the documented standalone planned
hand-over and its refused clean move without the ACK (cmd/blockvolume
TestStandalone*, build tags subprocess and chunkstore_integration) with
weed 4.53 linux_amd64 from the SeaweedFS release, checked against its
sha256 before every use, also from the runner's tool cache. A mismatch
fails the step. It follows the job's rules: pushes, train PRs and
non-Draft PRs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 01:07:43 -08:00
pingqiuandClaude Opus 5.5 8815c82098 test: the old process exits within the 30 s lease; a clean move without the ACK is refused
The planned hand-over waits 30 s for the old blockvolume's own exit, the
lease bound the lifecycle chapter states.

TestStandaloneCleanMoveWithoutTheACKIsRefused makes the chapter's
negative check deterministic: the volume is sealed, its blockvolume is
killed (a signal sends no ACK), the lease is revoked with the sealed
generation, and the clean move exits 1 with the documented refusal while
workspace show keeps no ACK. Its output is captured into the fixtures and
read by the shared checks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 01:07:24 -08:00
pingqiu eb12ec4c68 test: bound the multi-RPC holder scenario independently of fixture setup 2026-11-22 01:03:54 -08:00
pingqiu e76532be53 docs: disclose both directions of pre-release identity skew 2026-11-22 01:02:02 -08:00