Commit Graph
3468 Commits
Author SHA1 Message Date
pingqiuandClaude Fable 5.2 f2cdd75f8d docs(invariants): one property per row, second batch
Eleven over-long rows (authority store, workspace lease, forced move and
lost range, operator confirmation, frozen-request validation, host cut
budget, replica per-LBA rule, RF=3 promotion) become rows that state one
property each, every statement at most 300 characters. Clauses that only
repeated a Part A transition guard now point to that transition. 185 rows
become 216; the long-statement list shrinks from 28 to 18.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 16:27:03 -08:00
pingqiuandClaude Opus 5.5 76e56fc6cd durable: log when a detach's I/O stop began (the operational flip), next to when StopIO returned
A guest error after the flip is a refusal by contract; only an error on
I/O admitted before the flip is a data-path failure. The detach now logs
'I/O stop began at' (taken just before the flip: plain stop, live
StopIO, or the pre-copy TryStopIO) beside 'StopIO returned at', both
RFC 3339 nanoseconds, so a measurement can count from the flip (#375).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 16:25:45 -08:00
pingqiuandClaude Opus 5.5 089373518a durable: test: a detach logs when its I/O stop began
Red on main: only 'StopIO returned at' is logged, so a test measuring
guest errors cannot tell a refusal after the operational flip (by
contract) from an admitted I/O that failed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 16:25:22 -08:00
pingqiu 50d4b0357f Merge PR #371
# Conflicts:
#	docs/design/invariants.md
2026-11-21 16:11:43 -08:00
pingqiu 0a26213aaa Merge PR #367 2026-11-21 16:11:28 -08:00
pingqiuandClaude Opus 5.5 de9da9483a docs: durable-root note states the flush-latency floor, the exact measured figures, and that the stall cause is open
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 16:02:59 -08:00
pingqiuandClaude Opus 5.5 5fd02b4716 docs: put the blockvolume durable root on low-latency storage, with the measured reason
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 15:59:50 -08:00
pingqiu 0fd6f31137 Merge origin/main into fix/head-reopen-incarnation 2026-11-21 15:36:11 -08:00
pingqiuandClaude Opus 5.5 c546662f51 invariants: INV-OBS-SLOT-FROM-EXPECTED-SERVER-001 (approved; lands after Train 11)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 15:35:54 -08:00
pingqiu 865befccc2 Merge remote-tracking branch 'origin/main' into fix/obs-slot-from-expected-server 2026-11-21 15:35:42 -08:00
Ping Qiu ec03498005 Merge pull request #370 from seaweedfs/train/20261121-11b
train 11: deletion list 1, seal resume, row splits + length check, runbook, test fixes
2026-11-21 15:33:30 -08:00
pingqiuandClaude Fable 5.2 e9c8e464f4 ci(spec): a published spec states its exhausted bounds
docs/spec/README.md gains an Exhausted bounds table: one row per spec with
a configuration TLC explored completely, its bounds, its distinct state
count and what the model leaves out. internal/invcheck checks every row
(the spec and configuration exist, no cell is empty) and that every spec
has a row or is in a list that only shrinks (21 today). Eight rows are
added from results the README already states; nothing was re-run.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 15:30:00 -08:00
pingqiu 237151e769 test: validate fresh claim before comparing cut generations 2026-11-21 15:12:22 -08:00
pingqiuandClaude Opus 5.5 ab633d2032 authority: a replica's slot takes a fact only from the server its expected slot names
assembleVolumeTopology now ignores a fresh fact for a replica reported by
any server other than the one the expected slot names, so another host
cannot put its addresses or health into the assignment line of a replica
it does not host (its doc comment already said so). With no fact from
the expected server the slot stays a placeholder, as for a missing fact.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 15:01:12 -08:00
pingqiuandClaude Opus 5.5 55bf4a8461 authority: test: a replica's slot takes a fact only from its expected server
Red on main: assembleVolumeTopology keys fresh facts by replica id from
whichever server reported them first, so another server's fact for r1
supplies r1's addresses and health.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 15:00:52 -08:00
pingqiuandClaude Opus 5.5 4d9883f101 docs(invariants): keep INV-WS-FREEZE-ACCOUNTING-001 within 300 characters too
Same as the previous commit: the 'not reachable' marker lives in the
note under the table.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 15:00:05 -08:00
pingqiuandClaude Opus 5.5 cc4115741b docs(invariants): keep INV-CUT-PRECOPY-001 within 300 characters in the composed train
The 'not reachable in this release' marker added to its statement is
already stated in the note under the table; the length check added
in the same train rejects the longer statement.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 15:00:05 -08:00
pingqiu 51f9d95af6 test: preserve cut controls across HEAD claim at open 2026-11-21 14:57:57 -08:00
pingqiu 9a1785efb9 Merge remote-tracking branch 'pr/368' into train11 2026-11-21 14:25:29 -08:00
pingqiu 68f5932ffc Merge remote-tracking branch 'pr/366' into train11
# Conflicts:
#	docs/design/invariants.md
2026-11-21 14:25:29 -08:00
pingqiu c4b8eaf2c0 Merge remote-tracking branch 'pr/353' into train11 2026-11-21 14:25:14 -08:00
pingqiu 1a0e39bdd7 Merge remote-tracking branch 'pr/365' into train11 2026-11-21 14:25:14 -08:00
pingqiu 0e5a6361a3 Merge remote-tracking branch 'pr/360' into train11 2026-11-21 14:25:14 -08:00
pingqiu 0d3efefe18 Merge remote-tracking branch 'pr/364' into train11
# Conflicts:
#	docs/design/invariants.md
2026-11-21 14:25:08 -08:00
pingqiu 84b39f379b fix: replay plain seal during deferred authority startup 2026-11-21 14:14:31 -08:00
pingqiuandClaude Opus 5.5 ef1a70382a docs: recovery point and consistency first; control endpoint exposure; vacuum commands; verify exit codes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 14:13:54 -08:00
pingqiuandClaude Opus 5.5 261e5c4468 docs: snapshots, restore and getting space back for walstore-chunk volumes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 14:02:35 -08:00
pingqiu 17c1204fbd fix(durable): allow assigned non-serving seal replay and trace its proof 2026-11-21 14:01:33 -08:00
pingqiu 8251ad9255 fix(storage): replay plain seal from an exact remote proof after restart 2026-11-21 13:56:29 -08:00
pingqiu e5a167722e fix(storage): preserve sealed HEAD on same-owner reopen 2026-11-21 13:48:23 -08:00
pingqiu 677b8ec408 fix(durable): bind local-root ownership to the claim image 2026-11-21 12:31:19 -08:00
pingqiu 2edbee16b7 fix(storage): fence prior incarnation CAS before reopening I/O 2026-11-21 12:16:46 -08:00
pingqiu 746b6d59f7 test(storage): include a delayed first-cut create on reopen 2026-11-21 12:15:41 -08:00
pingqiu c61445461a test(durable): require a local reopen claim before serving 2026-11-21 12:14:12 -08:00
pingqiu 7fb9468742 test(storage): reopen the WAL for the replacement process 2026-11-21 12:12:39 -08:00
pingqiu a4b0a431f2 test(storage): reproduce late same-owner CAS after reopen 2026-11-21 12:12:07 -08:00
pingqiuandClaude Fable 5.2 2bcb2dbf02 invcheck: the long-statement list cannot grow; one row keeps its comparison
The list's size is pinned by a constant and, where the base commit is at
hand, every listed row must have been listed there. The head-belt fence
row again says the re-read owner is compared with the publisher's own.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 11:32:27 -08:00
pingqiuandClaude Fable 5.2 aa9657f383 docs(invariants): one property per row, first batch; a length check
Ten over-long rows of the chunk cut, workspace and GC machines become
rows of one property each (statements at most 300 characters); clauses
that only repeated a Part A transition guard become pointers to it. The
invariant check gains a length test with a list of the rows still over
300 characters, which may only shrink. Two test comments lose a
reviewer reference.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 11:24:15 -08:00
pingqiu cf4f682ac7 test(chunkstore): compare reclaimed manifest keys in binding form 2026-11-21 10:51:46 -08:00
pingqiu 6adc39432a test(transport): join floor handlers before restoring fault hooks 2026-11-21 10:51:01 -08:00
pingqiu dbf894ef77 test(chunkstore): cross the strict GC skew boundary 2026-11-21 10:50:15 -08:00
pingqiu dadeb62eea test(chunkstore): report retained roots on GC acceptance failure 2026-11-21 10:49:03 -08:00
pingqiu 10e88f765e test(chunkstore): publish integration fixtures as segmented HEADs 2026-11-21 10:46:58 -08:00
pingqiuandClaude Opus 5.5 3897052b0c docs(readme): a pull request runs the heavy packages it changes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 10:33:46 -08:00
pingqiu eca7d9e498 Merge remote-tracking branch 'origin/main' into docs/ci-full-suite-note 2026-11-21 10:33:46 -08:00
pingqiuandClaude Fable 5.2 8b4d357d59 Merge main: rows recounted with the document check
Main's wording wins where it changed a row; the not-reachable marks, the
two new rows and the note are kept; the count is recomputed from the
tables and the document check passes.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 10:32:47 -08:00
pingqiu 9e6692871d Merge remote-tracking branch 'origin/main' into test/plain-seal-reuses-uploads 2026-11-21 10:31:01 -08:00
Ping Qiu 1628604983 Merge pull request #362 from seaweedfs/train/20261121-10
train 10: invariant check, rpc seam, control bind, UNKNOWN precedence, scheduled snapshots, offline seal, restore CLI, CI routing
2026-11-21 10:29:43 -08:00
pingqiu e60f9c2e88 docs: state the process lifetime limit of seal progress 2026-11-21 09:30:06 -08:00
pingqiu f7224067a2 test: prove plain seal resumes completed uploads after expiry 2026-11-21 09:28:13 -08:00