Commit Graph
920 Commits
Author SHA1 Message Date
pingqiu 78c73da039 Merge #798 bf833228 into train/20261130-t3 2026-11-29 19:59:57 -08:00
pingqiu f00c2e6a81 Merge #782 ed35f137 into train/20261130-t3 2026-11-29 19:59:56 -08:00
pingqiu 7c4d6043c4 Clean abandoned conditional HEAD probes on catalog startup 2026-11-29 19:47:48 -08:00
pingqiu a31cb8b728 test: support conditional catalog probe in filer wiring fixture 2026-11-29 19:15:38 -08:00
pingqiu 3d6ecf548d fix: fail closed when the filer client cannot run its census 2026-11-29 16:44:57 -08:00
pingqiu 7380604134 test: reject unsupported filer clients at the single-filer check 2026-11-29 16:44:09 -08:00
pingqiu 51954f8804 test: retain merged census deadline and CLI controls 2026-11-29 15:54:37 -08:00
pingqiu baee502f07 fix: let the agreed master leader decide the filer census 2026-11-29 15:54:19 -08:00
pingqiu bf51c26a69 test: keep systemd fixture aligned with final revocation exit 2026-11-29 15:52:56 -08:00
pingqiu 8897b14971 feat: stop restarted holders after recorded revocation 2026-11-29 15:51:36 -08:00
pingqiu 02de64b69e test: pin final refusal and single exit after recorded revocation 2026-11-29 15:47:58 -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
pingqiu 9fda14ccad Merge main 8acddaaf (#791) into train/20261129-t1 2026-11-29 14:28:42 -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
pingqiu c6ec8e0255 Merge #779 213fb186 (test: remove unsupported verify pacing flag) into train/20261129-t1 2026-11-29 12:33:59 -08:00
pingqiu 213fb186fc test: remove unsupported verify pacing flag 2026-11-29 12:25:29 -08:00
pingqiu 7db79cd689 Merge #777 (1feaa18b) 2026-11-29 11:39:29 -08:00
pingqiu 24d43ec213 Merge #779 (79602675) 2026-11-29 11:39:24 -08:00
pingqiu 30b99055ac test: preserve the missing-filer refusal control 2026-11-29 10:42:20 -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
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
pingqiu 56286ab004 test: require verify options and stable HEAD observations 2026-11-29 10:27:13 -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
pingqiu 2ca3c55641 test: guard forced-move loss evidence and typed preview refusal branches 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 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
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
pingqiu 37efdef9da test: cover expired delete sweeps and the last-progress window 2026-11-29 04:19:51 -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
pingqiu ca41cfd2a1 test: reproduce transient volume delete failures and stalled progress 2026-11-29 04:05:07 -08:00
Ping Qiu 22534388cc Merge pull request #750 from seaweedfs/feat/volume-backup-restore
feat(sw-block): volume backup and volume restore
2026-11-29 03:20:45 -08:00
pingqiuandClaude Opus 5.5 68b6100328 test: the layout identity census lists the restore command's readers
volumeRestore and volumeRestoreAbort read layout ids; each now has its
probe: a restore answer without a valid layout id is unknown and places
nothing, and abort refuses settings naming another layout id.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 03:04:44 -08:00
pingqiu 9606a9c8f4 test(cli): correct Linux collection and diagnostic guards 2026-11-29 03:02:25 -08:00
pingqiu 7b65aab75f fix(cli): keep credential discovery ahead of collection limits 2026-11-29 02:43:01 -08:00
pingqiu c92f5b5a13 fix(cli): canonicalize support-bundle credential forms 2026-11-29 02:36:39 -08:00
pingqiuandClaude Opus 5.5 4c119fafb6 fix(sw-block): abort checks the unit's effective identity; a failed re-read is unknown
- The unit passes SWB_VOLUME_EXTRA_ARGS after its own flags, so --abort
  accepts only the exact value volume start writes (--layout-id <id>);
  another layout id after it, or a --master or --volume-id override,
  refuses with nothing changed.
- A placement refused and then not re-readable is an unknown outcome
  (rerun or abort), never "not placed".
- Ledger row INV-CLI-RESTORE-VERB-001 names the guards' tests; the
  persisted-state page lists the settings file restore writes and abort
  removes, and that backup writes no host file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 02:32:04 -08:00
pingqiu b4762ef771 fix(cli): discover per-volume holder units for default bundles 2026-11-29 02:28:11 -08:00
pingqiuandClaude Opus 5.5 2cca7deb72 fix(sw-block): placement reads the published line; abort checks the local install; backup needs --name
- The placement step reads the publisher's line (QueryVolumeStatus), which
  exists before any lease is granted on it, with the bindings
  (QueryWorkspace). A placement refused because the line was published in
  between is read again: this exact placement counts as done.
- --abort also checks this host's settings for the target (volume, master,
  layout id) before any change; another installation, or a running unit
  without settings, refuses with nothing changed.
- volume backup requires --name: a name the command chose would be lost
  with its terminal, and the same command could not resume it.
- The fake master answers a deleting or tombstoned target as the master
  does (FailedPrecondition, not_admitted) and grants no lease, so every
  re-run test runs in the published-before-lease interval.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 02:27:44 -08:00
pingqiuandClaude Opus 5.5 a7305caa4e fix(sw-block): volume restore reports the typed restore_source_not_own
A restore whose source is itself a restore target now names the master's
typed reason, as the page says, instead of the generic not_admitted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 02:27:43 -08:00