Commit Graph
2276 Commits
Author SHA1 Message Date
pingqiu 08df12ff47 test: use the closed gate readiness interface 2026-11-21 08:30:01 -08:00
pingqiu 5b8ddefeec Merge remote-tracking branch 'origin/main' into fix/offline-seal-caller-deadline
# Conflicts:
#	docs/design/invariants.md
2026-11-21 08:29:19 -08:00
pingqiu 889a85eab4 fix: require a bounded offline seal request and use M5 names 2026-11-21 08:28:29 -08:00
pingqiu 9be118360a test: refuse offline HTTP seals without an explicit bound 2026-11-21 08:28:00 -08:00
Ping Qiu ee92613b18 Merge pull request #355 from seaweedfs/train/20261121-9
train 9: independent restore B, chunk verify, E2 seams, COW spill cap, invariant rows, test fixes
2026-11-21 08:27:53 -08:00
pingqiu 3588903f6f docs: condense offline seal transition statement 2026-11-21 08:16:22 -08:00
pingqiu d75c61cff5 feat: seal idle volumes under the caller deadline 2026-11-21 08:14:16 -08:00
pingqiu 1b780fe940 test: offline detach HTTP preserves caller deadline 2026-11-21 08:11:59 -08:00
pingqiu 49f083acdf test: witness the offline cut timer deadline 2026-11-21 08:10:44 -08:00
pingqiu 296bb664d2 test: offline seal inherits the caller deadline 2026-11-21 08:10:23 -08:00
pingqiu 247dba50b1 Merge remote-tracking branch 'origin/main' into trial9b 2026-11-21 06:38:12 -08:00
Ping Qiu 7d431475c3 Merge pull request #352 from seaweedfs/ci/reduce-test-writes
ci: Draft PRs skip the Go suite; legacy-fixture pass on main and trains only
2026-11-21 06:37:52 -08:00
pingqiu f5f93b6b0b Merge remote-tracking branch 'pr/332' into trial9b
# Conflicts:
#	docs/design/invariants.md
2026-11-21 06:20:37 -08:00
pingqiu 13670b35cf Merge remote-tracking branch 'pr/324' into trial9b
# Conflicts:
#	docs/design/invariants.md
2026-11-21 06:20:28 -08:00
pingqiu 2d2d30f9ba Merge remote-tracking branch 'pr/351' into trial9b 2026-11-21 06:20:13 -08:00
pingqiu c084b9ab5c Merge remote-tracking branch 'pr/350' into trial9b 2026-11-21 06:20:13 -08:00
pingqiu b9d4b8c8ad Merge remote-tracking branch 'pr/349' into trial9b 2026-11-21 06:20:13 -08:00
pingqiu 650024bdbd Merge remote-tracking branch 'pr/348' into trial9b 2026-11-21 06:20:13 -08:00
pingqiu 6e2ca6b5b2 Merge remote-tracking branch 'pr/340' into trial9b
# Conflicts:
#	cmd/sw-block/chunk.go
#	docs/design/invariants.md
2026-11-21 06:20:10 -08:00
pingqiuandClaude Fable 5.2 161d34ed19 Merge main: rows re-checked after the claim removal
The fork row no longer names a claim: every attempt of a fork reads its
parent again. Rows main changed keep main's text; count recomputed from
the tables.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 05:49:14 -08:00
pingqiuandClaude Opus 5.5 b9bc151574 storage: test that the copy window holds the cut's own read cap and cause; zero-cap cuts that stage must complete
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 05:43:57 -08:00
pingqiuandClaude Opus 5.5 41444b75bb ci: a PR also runs every heavy package its own diff touches
Review fold: the light set dropped the four heavy packages even when the PR
changes them, so a PR's own Red-first tests there first ran in a train. The
step now adds back each heavy package with a file of the PR's diff in it
(checkout depth 2: the merge commit and its base parent).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 05:37:49 -08:00
pingqiuandClaude Opus 5.5 1122108a48 ci: a PR runs the light Go set; the long and timing-sensitive packages run on main and trains
core/storage, core/frontend/durable, core/host/master and core/authority
take minutes each and hold the timing-sensitive tests; under the CI host's
lowered I/O and CPU weight they reached the 10 minute package timeout on
PRs that do not touch them. A PR now runs every other package; pushes to
main and train PRs run the full list. Branch names reach the script only
through the environment.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 05:31:50 -08:00
pingqiuandClaude Opus 5.5 dad0b347d3 storage: one free-space read per cut for staging and the window; a zero cap shows its cause (no_room_to_cut, free_space_unreadable) in stats and abort counts
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 05:30:15 -08:00
pingqiuandClaude Opus 5.5 827cec9752 docs: restore the S11 ForkDelete row dropped in the merge (verbatim from main)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 05:20:09 -08:00
pingqiu c0a2bafda9 Merge remote-tracking branch 'origin/main' into feat/publish-settled-hook
# Conflicts:
#	core/frontend/chunkstore/catalog.go
#	core/frontend/chunkstore/gc.go
#	core/frontend/durable/provider.go
#	docs/design/invariants.md
2026-11-21 05:16:09 -08:00
pingqiuandClaude Fable 5.2 05edbbcb72 Merge main: verify joins the shared single-filer start check
The chunk commands' single-filer start check now comes from main; this
branch's own copy and its tests are removed. verify runs the check
inside its --timeout: against a split filer view it would report false
findings.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 05:15:50 -08:00
pingqiuandClaude Opus 5.5 d1038546a1 Merge origin/main 654b5601 (Train 8) into restore part B; docs reconciled to no-claim
Train 8 carries the fork-claim removal; the three docs conflicts resolve to
the no-claim union: the claim-free Fork, Retention and diagram text with this
part's Hydrating/Owning rows and steps; INV-RESTORE-PARENT-HOLD-001 archived;
both B.6 notes; the S10 row is the no-claim model, S11 ForkDelete kept.
Ledger recounted from the tables: 138 rows, 118 ACTIVE, 17 STUB, 3 ARCHIVED,
123 new.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 05:13:03 -08:00
pingqiuandClaude Opus 5.5 3204537cb5 storage: test that low free space at the cut stages before the barrier; the cap test's writer has its own bounded join
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 05:09:38 -08:00
pingqiuandClaude Opus 5.5 64c717f8b3 storage: each cut's COW spill cap is min(the configured cap, half the free space minus 1 GiB)
The free space of the side file's filesystem (--durable-root, statfs on
Linux) is read at each cut, for the staging bound and when the copy
window opens; a read error counts as no free space. At the cap the cut
aborts (cow_capacity) and the guest write completes. Adds Part E.
Quantities to the ledger with this row.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 05:09:38 -08:00
Ping Qiu 654b560170 Merge pull request #346 from seaweedfs/train/20261121-8
train 8: dead flag removal, ops start check, status schema, claim-free snapshot delete, frozen budget fields, periodic cut off by default
2026-11-21 05:06:44 -08:00
pingqiuandClaude Opus 5.5 3ec49ccdc5 ci: Draft PRs skip the Go suite; the legacy-fixture pass runs on main and trains only
The suite writes real files with fsync to the self-hosted runners' disk:
about 650 GiB an hour on tp04 today, most of it from repeated runs on Draft
PRs and from the second full pass with the legacy-fixture tag on every PR.
A Draft PR now runs no Go suite (marking it ready starts one), and the
legacy-fixture pass runs on pushes to main and on train PRs, which carry
every change that merges.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 04:55:26 -08:00
pingqiuandClaude Fable 5.2 c82ecff5f8 authority: print all goroutine stacks when the lease horizon test stalls
The three deadlock failures of
TestWorkspaceLeaseConcurrentRenewalsWritersExtendersClose now print the
stack of every goroutine. One CI failure of this test gave no way to see
where the parties were blocked. No timeout changed, nothing skipped.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 04:39:45 -08:00
pingqiu 071dfc96fd test(storage): map complementary capture and barrier coverage 2026-11-21 04:21:42 -08:00
pingqiu 95bba30511 test(storage): witness cut progress at explicit events 2026-11-21 04:16:49 -08:00
pingqiuandClaude Opus 5.5 2629004167 train 8: regenerate the status schema page after #338's comment change
docs/status-schema.md is generated from the Go field comments (#341);
#338 rewrote the StageRounds comment group, so the composed train needs
the page regenerated (STATUS_SCHEMA_UPDATE=1). Docs only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 04:06:11 -08:00
pingqiuandClaude Fable 5.2 fd9781af14 durable, storage: tests for pre-copy and I/O-gate rules no test pinned
A pause's drain waits for every admitted I/O (two in flight), a pause
does not begin on an unusable backend, a drain that loses readiness
ends with an error, the sample history is bounded at 32, the round loop
retries only the named errors, the attach wait fails fast on a terminal
state, a plain-detach stop refuses a closed backend. Tests only.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-21 03:56:24 -08:00
pingqiu 58a47ba5f8 Merge branch 'p345' into train/20261121-8
# Conflicts:
#	cmd/blockvolume/chunk_remote_test.go
#	docs/design/agent-workspace-design.md
2026-11-21 03:23:48 -08:00
pingqiu 1af3fb197a Merge branch 'p344' into train/20261121-8 2026-11-21 03:23:31 -08:00
pingqiu 3c698833fe Merge branch 'p337' into train/20261121-8 2026-11-21 03:23:30 -08:00
pingqiu 1180c82379 Merge branch 'p341' into train/20261121-8 2026-11-21 03:23:30 -08:00
pingqiu 66e0ed494d Merge branch 'p339' into train/20261121-8 2026-11-21 03:23:30 -08:00
pingqiu 66e131b4e6 Merge branch 'p338' into train/20261121-8 2026-11-21 03:23:30 -08:00
pingqiuandClaude Opus 5.5 daad372367 test fold: GoOwned ordering witness and a once-only Close in cleanup
The test records the owned goroutine's settlement and Close's return with
sequence numbers and requires settlement first; before releasing it gives a
Close that does not join 200 ms to return while the goroutine is held. One
Close launcher (sync.OnceFunc) serves the body and the pre-registered cleanup,
which always cancels, releases and joins, also when GoOwned or the start wait
fails.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 03:18:11 -08:00
pingqiuandClaude Opus 5.5 c329c57985 blockvolume: the periodic HEAD capture is off by default (opt-in, at least 5m when set)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 03:14:07 -08:00
pingqiuandClaude Opus 5.5 7fa772b975 test fold: pace origin before the call, GoOwned held settlement, owner-close teardown order
- The pacing test measures each admission from a time taken before the call,
  a lower bound of the walker's own start, keeping the exact 8 fills, Gets
  and admissions.
- The GoOwned test bounds every wait, pre-registers release and a bounded
  join of Close, and witnesses that Close does not return while the owned
  goroutine is held after its ctx ended (no sleep).
- The owner-close driver test releases the held provider call before the
  owner's join at teardown, so its red case cannot leave a worker behind.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 03:08:35 -08:00
pingqiuandClaude Opus 5.5 f2369fad11 docs: INV-SHARE-ACTIVATION-001 has no TLA+ property
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 03:04:56 -08:00
pingqiu 461272afc4 fix(storage): retain frozen observation on drain refusal 2026-11-21 03:00:18 -08:00
pingqiuandClaude Opus 5.5 ef9155e660 test: give the failing-cut fixture 2 s (300 ms was tight on a loaded runner)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 02:48:26 -08:00
pingqiu 06a8410099 storage: report the complete frozen estimate and refreeze quiesce slack 2026-11-21 02:44:51 -08:00