Commit Graph
2475 Commits
Author SHA1 Message Date
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
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
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
pingqiuandClaude Opus 5.5 f82e56d740 invariants: MAP-PRIOR-LIVE note from the model: the harmful pair, the outage until the page is rewritten, recovery today
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 00:37:05 -08:00
pingqiuandClaude Opus 5.5 4007c3dfa2 invariants: M1 Part A trace of the map prepare refusal (Serving -> Serving (map prepare refused)); row names the transitions
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 00:37:05 -08:00
pingqiuandClaude Opus 5.5 30039c4b01 storage: a map prepare refuses a prior root released before its live-set snapshot
A preparer (the flusher's checkpoint, the chunk layer's captured-map
publication, BASE complete) captures prior under descMu and prepares later.
If, in between, another root is published and a second publication writes
it into the other slot, prior is released: its extents are free in the live
snapshot, yet the prepare reused prior's page references for unchanged
pages and could allocate its own page or root into the same extent. The
candidate then names a page whose bytes no longer match its hash, and the
next open of the volume fails (open validates only the newest slot's map).

prepareLockedV3 now checks prior's liveness in the same liveMu section that
snapshots the live set (liveSnapshotWithPriorV3) and refuses a released
prior with mapCoverageRefusal("prior_released") before the latching defer;
the caller's next cycle prepares from the current root. The refusal is
counted in ChunkMapStats.PriorReleased. From the snapshot on, nothing else
allocates while m.mu is held and the candidate pins every page it
references, the reused ones included, until it is published or superseded.

INV-WAL-V3-MAP-PRIOR-LIVE-001 (Part B: 304 rows, 218 ACTIVE).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 00:36:46 -08:00
pingqiuandClaude Fable 5.2 86b421f070 docs: say which test asserts the catch-up damage row in the default suite
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 23:19:49 -08:00
pingqiu 4134429077 Merge remote-tracking branch 'origin/main' into docs/invariants-v3-stub-promotion 2026-11-21 23:17:27 -08:00
Ping Qiu ea276b450a Merge pull request #404 from seaweedfs/train/20261122-19
train 19: required setup docs, reachability words
2026-11-21 23:16:58 -08:00
pingqiuandClaude Fable 5.2 5d3cd7995e docs: two format-v3 statements say what the code does
The lock-order row claimed the store lock is always released before slot
I/O; recovery, BASE transitions, the checkpoint publication and rollovers
hold it on purpose to exclude writers. The record-refusal row claimed CRC
and footer are refused before a payload is allocated; the scanner must
read a record to check them, after its size is bounded. Both rows stay
STUB.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 23:15:26 -08:00
pingqiuandClaude Fable 5.2 66b6929923 docs: promote 15 format-v3 rows whose statements a default test asserts
Each promoted row runs in production by default and every clause of its
statement is asserted by a named test in the default suite. 27 rows stay
STUB; a note groups them by reason (a clause has no asserting test, the
tests only exercise the path, or the asserting test needs a build tag).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 23:00:17 -08:00
pingqiu 648b36c8d3 Merge PR #402 2026-11-21 22:43:43 -08:00
pingqiu 70f196e286 Merge PR #398 2026-11-21 22:43:43 -08:00
pingqiuandClaude Fable 5.2 636bc98747 docs: invariants say which v3 paths production reaches
Production creates and opens format-v3 stores, so most 'dark', 'not yet
wired' and 'until activation' phrases in the contract were false. Each
phrase was checked against its production caller and now says what is
true: reachable by default, reachable only with a named flag, or no
production caller. Row status is unchanged. Also cites two merged tests
on INV-CUT-STAGED-REUSE-001.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 22:36:28 -08:00
Ping Qiu 7f4f61d9ce Merge pull request #400 from seaweedfs/train/20261122-18
train 18: same-holder re-grant after lease expiry
2026-11-21 22:14:24 -08:00
pingqiuandClaude Fable 5.2 f287e281c2 docs: NVMe/TCP device lookup needs native NVMe multipath
The walkthrough's lookup and the CSI node plugin resolve the namespace
under /sys/class/nvme-subsystem, which holds it only with nvme_core
multipath=Y. Say so, with the check.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 22:02:34 -08:00
pingqiu df9599524b Merge PR #395 2026-11-21 21:41:03 -08:00
pingqiu 53b41f808f Merge commit '626fd811' into fix/oss-holder-resume
# Conflicts:
#	docs/design/agent-workspace-design.md
#	docs/design/invariants.md
#	docs/workspace-lease.md
2026-11-21 21:29:27 -08:00
pingqiu 0d7808c9ad test: bound regrant durability handshakes and clarify renewal scope 2026-11-21 21:23:47 -08:00
pingqiuandClaude Fable 5.2 70fa2dee00 docs: required setup, make the volume known to blockmaster
A blockvolume that blockmaster does not know serves nothing and says
little. The standalone document now states the topology file and the
matching flags as required steps, how to check before and after, and
which log line means which missing step.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 21:23:41 -08:00
Ping Qiu 626fd811a4 Merge pull request #394 from seaweedfs/train/20261122-17
train 17: same-host clean move of a sealed HEAD
2026-11-21 21:22:23 -08:00
pingqiu 742d248a78 test: preserve persisted regrant skew across a smaller restart setting 2026-11-21 21:12:08 -08:00
pingqiu 5af76730c7 test: require sealed regrant return to preserve proof and refuse guest IO 2026-11-21 21:05:38 -08:00
pingqiu 7e8084c7a4 fix: keep expired renewal nonblocking behind held authority writes 2026-11-21 21:02:35 -08:00
pingqiu bc43c66786 docs: specify expired-holder regrant behind the shared MAX barrier 2026-11-21 20:59:09 -08:00
pingqiu db9f8ff5f2 test: witness regrant durability force exclusion and empty-root restore 2026-11-21 20:57:20 -08:00
pingqiu 823a7b9e2d fix: durably regrant expired unchanged owners after forced-move barrier 2026-11-21 20:56:09 -08:00
pingqiu 1a623b38a4 Merge remote-tracking branch 'origin/main' into fix/oss-holder-resume 2026-11-21 20:55:33 -08:00
pingqiu d7b236de69 Merge PR #392
# Conflicts:
#	docs/design/invariants.md
2026-11-21 20:48:59 -08:00
Ping Qiu e051d1b5f7 Merge pull request #393 from seaweedfs/train/20261122-16
train 16: planned hand-over CLI, last long invariant row
2026-11-21 20:43:24 -08:00
pingqiu 612b3276c0 docs: recount invariant ledger after merging current main 2026-11-21 20:34:04 -08:00
pingqiu 7be16b8cb8 Merge remote-tracking branch 'origin/main' into fix/oss-same-host-clean-move 2026-11-21 20:33:52 -08:00
pingqiu c1033cb8af test: pin regrant to the existing later forced-move skew barrier 2026-11-21 20:10:25 -08:00
pingqiu 7ed752eb29 docs: use the approved same-host clean move invariant text 2026-11-21 20:09:42 -08:00
pingqiu 20ce4ea004 Merge PR #390
# Conflicts:
#	docs/design/invariants.md
2026-11-21 20:09:18 -08:00
pingqiu 64f47d337f Merge PR #391 2026-11-21 20:09:12 -08:00
pingqiu a489f4e1f5 test: clone protobuf requests without copying lock state 2026-11-21 20:08:15 -08:00
pingqiu e6fcfd38b9 test: retain endpoint refusal evidence and place G3 row in ledger 2026-11-21 20:07:59 -08:00
pingqiu b2a28dea39 test: match the plain detach result contract 2026-11-21 20:06:34 -08:00
pingqiu 7968ea3904 test: connect expired regrant to sealed reopen and local WAL return 2026-11-21 20:06:15 -08:00
pingqiu 8120d0102d test: require the full skew barrier before same-holder regrant 2026-11-21 20:04:44 -08:00
pingqiu dd6fd3c2bb cli: clarify logical holder and sealed generation fields 2026-11-21 20:02:31 -08:00
pingqiu f9177aa249 docs: trace same-host clean return through the sealed HEAD claim 2026-11-21 20:02:31 -08:00
pingqiu 87b92007dd test(cli): pin operator identity output order 2026-11-21 20:02:07 -08:00
pingqiu 1f2bcd82bb test: preserve same-host clean proof and sealed image controls 2026-11-21 20:01:49 -08:00
pingqiu 26702a36aa fix: allow sealed clean moves to return to the same host 2026-11-21 20:00:07 -08:00
pingqiu 4a58b209b0 docs(cli): distinguish host validity from forced-move admission 2026-11-21 19:55:06 -08:00
Ping Qiu 0dd882d419 Merge pull request #389 from seaweedfs/train/20261122-15
train 15: host-slot wait for timer cuts, upload reuse after an aborted cut
2026-11-21 19:53:47 -08:00