Commit Graph
2377 Commits
Author SHA1 Message Date
pingqiu 534d141a67 Merge remote-tracking branch 'origin/main' into docs/invariants-split-batch3 2026-11-21 17:41:54 -08:00
Ping Qiu 92b9293ac0 Merge pull request #382 from seaweedfs/train/20261122-13
train 13: durable-root sizing doc, row splits batch 2, spec bounds table
2026-11-21 17:41:12 -08:00
pingqiu ab3b203064 Merge PR #372 2026-11-21 17:07:35 -08:00
pingqiu 3ab9218728 Merge PR #376 2026-11-21 17:07:35 -08:00
pingqiu c575469054 Merge PR #373 2026-11-21 17:07:35 -08:00
pingqiu a4ca4867de Merge branch 'docs/invariants-split-batch2' into docs/invariants-split-batch3
# Conflicts:
#	docs/design/invariants.md
2026-11-21 16:49:44 -08:00
pingqiuandClaude Fable 5.2 705656010b docs(invariants): one property per row, third batch (local WAL store)
Seventeen over-long rows of the local WAL store (format v3) become 92 rows
that state one property each, every statement at most 300 characters.
Clauses that only repeated a Part A transition guard point to that
transition; the write-admission wait gets its line in the table of bounded
waits. The long-statement list shrinks from 18 to 1.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 16:49:29 -08:00
pingqiuandClaude Fable 5.2 f6b3b3e34d docs(spec): bounds rows for the three reopen and seal specs
HeadReopenBelt, PlainSealReplay and SealedReopen arrived on main with
their results in the README; each gets its Exhausted bounds row from those
figures. Nothing re-run.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 16:48:29 -08:00
pingqiu 26ef627088 Merge remote-tracking branch 'origin/main' into ci/spec-bounds-check 2026-11-21 16:48:13 -08:00
pingqiu e99c9a8a37 Merge remote-tracking branch 'origin/main' into docs/invariants-split-batch2
# Conflicts:
#	docs/design/invariants.md
2026-11-21 16:47:19 -08:00
Ping Qiu b4633efd2c Merge pull request #374 from seaweedfs/train/20261122-12
train 12: HEAD reopen claim + expected-server slot facts
2026-11-21 16:46:32 -08:00
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
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