Commit Graph
4243 Commits
Author SHA1 Message Date
pingqiu 3aff8010d7 test: compose timed-out requests adoption and refused-cut progress 2026-11-29 16:03:43 -08:00
pingqiu 1369da1694 fix: share equal-to-HEAD proof across staging and cut retries 2026-11-29 16:03:39 -08:00
pingqiu 54960b59ea test: expose restaging equal chunks after a refused full cut 2026-11-29 16:03:38 -08:00
pingqiuandClaude Opus 5.5 f829e8751e durable: a plain seal's retry after a deadline commits the first attempt's uploads without putting them again
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 15:47:54 -08:00
pingqiuandClaude Opus 5.5 0349b930ec chunkstore, storage: require the aborted-detach notice, hold the cleaning for uncommitted uploads, adoption controls
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 15:47:52 -08:00
pingqiuandClaude Opus 5.5 2e6adbc7ca chunkstore: a cut's commit adopts its own upload from a session a timed-out request aborted
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 15:47:18 -08:00
Ping Qiu d5bd456952 Merge pull request #786 from seaweedfs/train/20261129-t1
train: eight accepted v1.0.1 PRs (#780 #771 #775 #779 #778 #773 #776 #777)
2026-11-29 15:46:25 -08:00
pingqiu d56d34b4cf Merge main 4b958e03 (#783) into train/20261129-t1
# Conflicts:
#	docs/design/invariants.md
2026-11-29 15:19:25 -08:00
Ping Qiu 4b958e03f2 Merge pull request #783 from seaweedfs/docs/invariants-dormant-status
docs(invariants): DORMANT status; re-cite seven rows
2026-11-29 14:52:00 -08:00
pingqiu e372193edc Merge main f5d43af2 (#787, #789) into train/20261129-t1
# Conflicts:
#	docs/design/invariants.md
2026-11-29 14:33:59 -08:00
Ping Qiu f5d43af2ae Merge pull request #789 from seaweedfs/fix/single-filer-bound-race
fix(chunkstore): the single-filer census passes only when every master answered
2026-11-29 14:31:29 -08:00
Ping Qiu 02ffc39a91 Merge pull request #787 from seaweedfs/ci/light-checks-self-hosted
ci: run the light PR checks on the self-hosted runners
2026-11-29 14:30:40 -08:00
pingqiu 9fda14ccad Merge main 8acddaaf (#791) into train/20261129-t1 2026-11-29 14:28:42 -08:00
Ping Qiu 8acddaaf2d Merge pull request #791 from seaweedfs/feat/force-move-json-identity
feat: include target identity in issued force-move JSON
2026-11-29 14:27:49 -08:00
pingqiuandClaude Opus 5.5 169f6e6e1c test(invcheck): check DORMANT rows like ACTIVE ones
A DORMANT row's code and test exist (the ledger legend), so the
invariant tests now require it to name a test and its cited .go paths
to exist, as for ACTIVE rows, and count it in the status log.
TestInvariantRowsNameExistingTests failed for the 11 DORMANT rows
before this change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 14:09:14 -08:00
pingqiuandClaude Opus 5.5 a90fab8c11 docs: what the single-filer start check does not detect
At start, the leader master listed this filer and no other. A filer
added within about 15 seconds before the start, or at any time after, is
not detected.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 13:34:22 -08:00
pingqiuandClaude Opus 5.5 4604b30891 test(chunkstore): the census test checks the unanswered master it names
TestCheckSingleFilerNeedsEveryMasterToAnswer now requires the refusal to
name the master that did not answer, by its gRPC address or as given when
it does not parse, among those named for the last round. The bound may
also cut the favourable master's last call, so that master can be named
too. Dropping a master from the named list fails every case it covers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 13:24:05 -08:00
pingqiuandClaude Opus 5.5 9833f43f44 docs(invariants): shorten the retired row's statement
The archived INV-WS-HEAD-KEY-PROVENANCE-001 row keeps only why it was
retired and what replaces it; the old wording stays in git history.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 13:19:31 -08:00
pingqiuandClaude Opus 5.5 4907c55f9b test(sw-block): the shell's start check refuses an unparsable master
The shell's single-filer start check is the census itself. A filer
reporting one favourable master and one address that does not parse is
refused as invalid, naming that master and saying to rerun when it
answers. On main the favourable master passes alone. The census's own red
for the same case is the "address does not parse" case of
TestCheckSingleFilerNeedsEveryMasterToAnswer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 13:14:42 -08:00
pingqiu 2316810fdb feat: include target identity in issued force-move JSON 2026-11-29 13:03:01 -08:00
pingqiu 7cb1500b5b test: pin issued force-move JSON identity 2026-11-29 13:01:58 -08:00
pingqiuandClaude Opus 5.5 68823d5b90 fix(chunkstore): the single-filer census passes only when every master answered
Replaces the bound-classification fix with a rule without a clock. A
round passes only when every master answered, none refused, and at least
one listed exactly the configured filer. A master that does not answer,
for any reason and at any time (it stalls, answers DeadlineExceeded
before its deadline, is down, or its address does not parse), leaves the
round unconfirmed, and the masters are asked again. The bound only ends
the asking. Then the start is refused, naming the masters that did not
answer, with "rerun when they answer". The two time tests are replaced
by one rule test with no timing assertion, in both master orders. Price,
stated on the standalone page: a chunk volume does not start while any
master of the filer's group is unreachable.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 13:01:53 -08:00
pingqiuandClaude Opus 5.5 6451f93aa3 fix(chunkstore): a master's answer cut by the bound refuses the round
singleFilerRound let an earlier favourable answer pass when a later
master's answer ended at the bound but arrived before the caller's
context was done. A gRPC server's deadline is the timeout the client
sent, so it runs out first and answers DeadlineExceeded. Now, when the
bound (not the per-attempt bound) ends a master's call and the call
fails by deadline, the round cannot pass: that master's view is unknown.
A stalled first master still costs one attempt, not the bound.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 12:47:38 -08:00
pingqiuandClaude Opus 5.5 0e1822c9a7 test(chunkstore): a master answer cut by the bound just before it must not pass
A gRPC server's deadline is the timeout the client sent, so a stalled
master answers DeadlineExceeded slightly before the caller's context is
done. The round then sees no bound passed and lets the earlier favourable
answer pass alone. That is the CI flake of
TestCheckSingleFilerFavourableThenStalledRefuses ("<nil> after 800.5ms").
The test master's early answer makes it deterministic; red on main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 12:47:27 -08:00
pingqiu c6ec8e0255 Merge #779 213fb186 (test: remove unsupported verify pacing flag) into train/20261129-t1 2026-11-29 12:33:59 -08:00
pingqiuandClaude Opus 5.5 954179e9cb ci: choose the light checks' runner by PR origin; check blob paths
A PR from a fork keeps a GitHub-hosted machine: pull_request_target
starts for any PR without approval. The DOCS blob step wrote files by the
paths a PR's tree names, which git does not check when it prints a diff;
a crafted tree with '..' entries wrote outside the workspace. The step is
now a script that refuses such a path before any write, and both jobs
fetch the PR head with fetch.fsckObjects=true. spec trace sets up Go for
sametokens.go, which a self-hosted runner does not have on its PATH.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 12:33:17 -08:00
pingqiu 213fb186fc test: remove unsupported verify pacing flag 2026-11-29 12:25:29 -08:00
pingqiuandClaude Opus 5.5 8c582a43b1 ci: run the light PR checks on the self-hosted runners
The spec trace and post-merge-review path checks read only the PR
description and git objects. On the organization's shared GitHub-hosted
queue they waited behind other repositories' jobs and held merges back;
the self-hosted runners are mostly idle since PR suites run GitHub-hosted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 12:24:42 -08:00
pingqiu 1eab882da1 Merge #775 (8999b186)
# Conflicts:
#	docs/design/invariants.md
2026-11-29 11:40:34 -08:00
pingqiu 7db79cd689 Merge #777 (1feaa18b) 2026-11-29 11:39:29 -08:00
pingqiu d568a48da8 Merge #776 (c0b8242b) 2026-11-29 11:39:28 -08:00
pingqiu 44837576ae Merge #773 (1ad3be0e) 2026-11-29 11:39:27 -08:00
pingqiu 5881b3f7d3 Merge #778 (9af75082) 2026-11-29 11:39:26 -08:00
pingqiu 24d43ec213 Merge #779 (79602675) 2026-11-29 11:39:24 -08:00
pingqiu b9783aa6c2 Merge #771 (28e4a54f) 2026-11-29 11:39:20 -08:00
pingqiu 86ebb8fa5f Merge #780 (30b99055) 2026-11-29 11:39:19 -08:00
Ping Qiu 686d11e273 Merge pull request #772 from seaweedfs/docs/ctrl-loss-tmo
docs(standalone): a partition longer than ctrl-loss-tmo removes the guest's disk
2026-11-29 10:53:51 -08:00
pingqiu 9af750823a test: bound upload entry waits and retain early errors 2026-11-29 10:47:20 -08:00
pingqiuandClaude Opus 5.5 99cbcf24b6 docs(invariants): DORMANT status; re-cite seven rows
Add a DORMANT status to the ledger legend: the code and its test exist,
but no production path of this release reaches the code, so a release
note must not claim it. A list under the legend says what each such row
waits for.

- 11 rows set to DORMANT, each checked at the code for a production
  caller: restore hydrate and own-batch, pre-copy and the frozen
  detach's refusal precedence, W mode A and SetWMode, four reset rows,
  and publish-settled.
- 7 rows re-cited to the code that enforces them now: the copy
  window's abort, the foreign-reference check, the startup retry, the
  holder's cleaning, the snapshot metadata's host functions, HEAD
  monotonicity, and the snapshot limit (10, not 100).
- INV-WS-HEAD-KEY-PROVENANCE-001 archived: its mechanism was removed
  at the store cutover; INV-SNAPK-COMMIT-REACH-001 replaces it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 10:45:55 -08:00
pingqiu 79602675e1 docs: define stable volumes for missing and orphan verification 2026-11-29 10:43:08 -08:00
pingqiu 30b99055ac test: preserve the missing-filer refusal control 2026-11-29 10:42:20 -08:00
pingqiuandClaude Opus 5.5 28e4a54fe4 chunkstore: a no-op cut after the token moved under the holder's own identity reads the whole HEAD
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 10:41:49 -08:00
pingqiu ba524999fb fix: require master workspace lease for chunk volume startup 2026-11-29 10:35:23 -08:00
pingqiu ff880de157 test: require workspace leases for chunk volume startup 2026-11-29 10:33:38 -08:00
pingqiu 88cac7528c fix: require stable HEAD generations for verify findings 2026-11-29 10:31:57 -08:00
pingqiu e2414fcae2 fix: release layout session lock before payload upload 2026-11-29 10:31:21 -08:00
pingqiu ae1588539d test: expose layout uploads blocking workers and HEAD reads 2026-11-29 10:30:36 -08:00
pingqiuandClaude Opus 5.5 1feaa18b31 docs: a restored volume stays bound to its source snapshot; drop pages of the old store
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 10:30:17 -08:00
pingqiuandClaude Opus 5.5 c0b8242b1f ci: the PR template asks the five questions, Weakens among them
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 10:28:05 -08:00
pingqiu 56286ab004 test: require verify options and stable HEAD observations 2026-11-29 10:27:13 -08:00