Commit Graph
2366 Commits
Author SHA1 Message Date
pingqiu fc7d7eb13f test(storage): leave ledger update to shared docs follow-up 2026-11-21 17:57:26 -08:00
pingqiu d402aa112b docs(storage): link mid-upload cancellation regression to reuse invariant 2026-11-21 17:41:20 -08:00
pingqiu 14facd1169 test(storage): count retained upload bytes after a mid-cut abort 2026-11-21 17:37:30 -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
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
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
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
pingqiuandClaude Fable 5.2 69b83d6e16 volume, blockvolume: refuse the frozen detach and the pre-copy detach flag
A detach request with frozen set is answered 409 frozen_detach_unsupported
before any provider call, and blockvolume refuses to start with
--chunk-detach-precopy. Nothing is deleted: both mechanisms become
unreachable in this release. The request fields stay so the strict
decoder keeps answering the typed refusal.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 09:04:51 -08:00
pingqiuandClaude Fable 5.2 b846d82b53 test: a frozen detach request and the pre-copy detach flag must be refused
Red on this commit: a detach request with frozen set still reaches the
provider, and blockvolume still starts with --chunk-detach-precopy.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 09:04:51 -08:00