Commit Graph
4201 Commits
Author SHA1 Message Date
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
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 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 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
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
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
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
Ping Qiu b0b0a6ebb7 Merge pull request #770 from seaweedfs/docs/seal-rerun
docs(standalone): rerun a seal that runs out of time; never revoke without one
2026-11-29 10:11:28 -08:00
pingqiuandClaude Opus 5.5 48e812523e docs(standalone): the disk goes at ctrl-loss-tmo less the re-grant; the setting never redirects
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 09:54:06 -08:00
pingqiuandClaude Opus 5.5 088226f832 docs(standalone): a partition longer than ctrl-loss-tmo removes the guest's disk
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 09:44:20 -08:00
pingqiuandClaude Opus 5.5 d67d27b49d docs(standalone): rerun a seal that runs out of time; never revoke without one
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 09:40:17 -08:00
Ping Qiu 7815c2375d Merge pull request #769 from seaweedfs/fix/default-attach-attempt
fix: keep default attach work outside the assignment deadline
2026-11-29 09:13:54 -08:00
pingqiu 18d2f65a3e fix: recheck attach retry expiry and distinguish backup name conflicts 2026-11-29 08:41:35 -08:00
pingqiu 3a64c95f45 test: guard retry expiry and taken snapshot name guidance 2026-11-29 08:41:35 -08:00
Ping Qiu 85d7ebbb67 Merge pull request #768 from seaweedfs/feat/force-move-json
feat(cli): expose typed force-move admission with --json
2026-11-29 08:40:22 -08:00
pingqiu 71a8eb7a4d docs: put the attach bound invariant in the ledger table 2026-11-29 08:36:16 -08:00
pingqiu 9bbd667a34 test: expire the attach object call independently of assignment wait 2026-11-29 08:31:21 -08:00
pingqiu 677b1bb256 docs: pin forced-move dry-run admission to the JSON answer 2026-11-29 08:23:21 -08:00
pingqiu 2ca3c55641 test: guard forced-move loss evidence and typed preview refusal branches 2026-11-29 08:23:08 -08:00
pingqiu 0d77679c42 docs: record the forced-move JSON loss-readout invariant 2026-11-29 08:23:08 -08:00
pingqiu efb914a5ea fix(cli): retain kept HEAD and loss bounds in forced-move JSON 2026-11-29 08:23:08 -08:00
pingqiu 88f2f95cde feat(cli): expose typed force-move admission as JSON 2026-11-29 08:23:08 -08:00
pingqiu 868813e14f test: pin typed force-move preview and issued answers 2026-11-29 08:22:49 -08:00
pingqiu dc5e9a1f3b test: retain bounded failed startup in default mode 2026-11-29 08:21:01 -08:00
pingqiu 7c15b1b998 test: keep attach deadline failure evidence concise 2026-11-29 08:19:55 -08:00
pingqiu d2ecca2dee fix: keep default attach work outside the assignment allowance 2026-11-29 08:19:55 -08:00
pingqiu bb9f6f1207 test: require resumable progress guidance on backup failures 2026-11-29 08:18:32 -08:00
pingqiu 83cdea1502 test: reproduce default attach deadline on a dense manifest 2026-11-29 08:17:32 -08:00
Ping Qiu 30b5177b17 Merge pull request #767 from seaweedfs/docs/force-move-dry-run-exit
docs(lifecycle): force-move --dry-run exits 0 whenever the check ran
2026-11-29 08:01:10 -08:00
pingqiuandClaude Opus 5.5 e3e5f24928 docs(lifecycle): force-move --dry-run exits 0 whenever the check ran
Read its admitted or not-admitted line before moving; the exit code does not
say which.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 07:26:32 -08:00
Ping Qiu faf70368ea Merge pull request #759 from seaweedfs/fix/volume-delete-progress
fix: continue volume deletion while bounded sweeps make progress
2026-11-29 04:55:59 -08:00
Ping Qiu 0a50e61875 Merge pull request #758 from seaweedfs/feat/cut-compare-progress
fix(storage): a cut marks each chunk equal to HEAD as soon as it compares it
2026-11-29 04:54:33 -08:00
Ping Qiu 21c87519a9 Merge pull request #764 from seaweedfs/docs/recovery-window-active
docs(invariants): INV-RECOVERY-PROGRESS-WINDOW-001 is ACTIVE
2026-11-29 04:53:45 -08:00
Ping Qiu 41337eed22 Merge pull request #760 from seaweedfs/fix/volume-status-chunk
fix: preserve chunk diagnostics in volume status reports
2026-11-29 04:39:34 -08:00
pingqiuandClaude Opus 5.5 5d8ac4a727 docs(invariants): INV-RECOVERY-PROGRESS-WINDOW-001 is ACTIVE
The recovery and attach halves landed together and the joint
recovery+attach Linux qualification passed (7495 PASS, 0 FAIL, race x5
including the attach tests).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 04:38:36 -08:00
Ping Qiu a486aa1dd2 Merge pull request #763 from seaweedfs/docs/recovery-attach-cl-rows
docs(invariants): the recovery and attach C.L rows, both ACTIVE
2026-11-29 04:35:00 -08:00
pingqiuandClaude Opus 5.5 0aa4cf8621 docs(invariants): the recovery and attach C.L rows, both ACTIVE
The shared progress window's two rows as reviewed on the recovery and
attach pull requests (the recovery half's code and the attach half
landed together on main); the joint recovery+attach Linux qualification
passed, so both read ACTIVE.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 04:23:50 -08:00
pingqiu 2fa2200b11 docs: describe chunk reports and node evidence limitation 2026-11-29 04:21:13 -08:00
pingqiu 37efdef9da test: cover expired delete sweeps and the last-progress window 2026-11-29 04:19:51 -08:00
pingqiu ee334f66ff fix: preserve chunk layer in volume status reports 2026-11-29 04:15:28 -08:00
pingqiu 09b3fe445b test: retain chunk status in volume reports 2026-11-29 04:15:26 -08:00
Ping Qiu 0d499a9859 Merge pull request #753 from seaweedfs/feat/attach-recovery-progress
feat(durable): the chunk attach reports its local work; 30 s bounds only its remote calls
2026-11-29 04:10:37 -08:00
pingqiu cb1c929350 fix: continue volume deletion while bounded sweeps make progress 2026-11-29 04:08:55 -08:00