Commit Graph
4255 Commits
Author SHA1 Message Date
pingqiu e7ce492813 fix: warn on disposable probe cleanup failure without refusing startup 2026-11-29 16:45:42 -08:00
pingqiu 78a610ee85 test: cleanup failure must not block a proven conditional filer 2026-11-29 16:45:29 -08:00
pingqiu f3b0a678aa fix: require wrong-generation HEAD updates to refuse at startup 2026-11-29 16:45:28 -08:00
pingqiu 2d6664edb4 test: identify the probe filer by its advertised gRPC address 2026-11-29 16:45:02 -08:00
pingqiu e861733a8a test: require conditional HEAD refusal at catalog startup 2026-11-29 16:45:02 -08:00
Ping Qiu bb03b7125b Merge pull request #792 from seaweedfs/fix/filer-census-leader
fix: use the agreed master leader for the filer census
2026-11-29 16:34:40 -08:00
Ping Qiu 662019e02a Merge pull request #796 from seaweedfs/fix/revocation-ack-recorded-retry
fix: replay recorded revocation ACK before lease admission
2026-11-29 16:33:50 -08:00
pingqiu 04ba00dfd9 docs: reference the retained census refusal test 2026-11-29 15:54:51 -08:00
pingqiu 51954f8804 test: retain merged census deadline and CLI controls 2026-11-29 15:54:37 -08:00
pingqiu 0bbaf4836e fix: confirm master leadership after listing filers 2026-11-29 15:54:36 -08:00
pingqiu 322d246949 test: reproduce leadership loss during filer census 2026-11-29 15:54:20 -08:00
pingqiu 6087669843 docs: state filer census registration and version limits 2026-11-29 15:54:20 -08:00
pingqiu baee502f07 fix: let the agreed master leader decide the filer census 2026-11-29 15:54:19 -08:00
pingqiu 654b9561f0 test: pin agreed-leader filer census authority 2026-11-29 15:53:54 -08:00
Ping Qiu 0ae0c519b4 Merge pull request #793 from seaweedfs/ci/post-merge-review-hosted
ci: run post-merge-review paths on GitHub-hosted runners again
2026-11-29 15:50:02 -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 5fa69f529c fix: replay recorded revocation ACK before lease admission 2026-11-29 15:39:53 -08:00
pingqiu 06d6c4441b test: reproduce recorded revocation ACK refusal after deadline 2026-11-29 15:36:56 -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
pingqiuandClaude Opus 5.5 6e33814b92 ci: run post-merge-review paths on GitHub-hosted runners again
On the self-hosted runners every run of this job failed in "Set up job"
within two seconds and left no log, while spec trace passes there. The
job only echoes for an unlabelled PR, so it goes back to ubuntu-latest
until the cause is known.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 14:40:45 -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