Commit Graph
5053 Commits
Author SHA1 Message Date
Chris Lu 8fc635312b deps: bump google.golang.org/grpc to v1.83.2 (#1010)
Merge note (pull_request_target spec-trace workflow has a startup_failure on every branch since 2026-12-02 22:45Z, so its checks run locally):
- Test run 47186544594 succeeded (go test (linux), process-level tests (real binaries)) on head 9293218a against main d0973d2e, the current main head.
- spec-trace-check.sh and public-text-check.sh, run with the main branch's scripts against this head and body: both exit 0.
- Code review ACCEPT on 9293218a: only go.mod and go.sum change; Go stays 1.25; every dependency bump matches the graph grpc v1.83.2 requires, and the checksums match upstream.
2026-12-03 11:56:27 -08:00
pingqiu-cpu ae8fab3929 fix(csi): a delete refused for the volume's state answers delete pending, not Internal (#999)
Merge note (batch b3; pull_request_target spec-trace workflow has a startup_failure, so its checks run locally):
- One Test run (47182042028) succeeded (go test (linux), process-level tests (real binaries)) on the integration tree 4366f2cc = main a3362e32 + #987 #999  in this order; these squash merges reproduce that tree, verified after the last one.
- spec-trace-check.sh and public-text-check.sh, run with main's scripts against this head and body: both exit 0.
- Code review ACCEPT on bddab8eb: the CSI delete of a volume blockmaster keeps answers FailedPrecondition 'delete pending' with the master's reason; the holder note appears only for blockmaster's typed HOLDER_NOT_RELEASED reason, never from message text; other failures stay internal.
2026-12-03 11:32:59 -08:00
pingqiu-cpu 4a76882b32 fix(cli): align retry answers and snapshot replay reporting (#987)
Merge note (batch b3; pull_request_target spec-trace workflow has a startup_failure, so its checks run locally):
- One Test run (47182042028) succeeded (go test (linux), process-level tests (real binaries)) on the integration tree 4366f2cc = main a3362e32 + #987 #999  in this order; these squash merges reproduce that tree, verified after the last one.
- spec-trace-check.sh and public-text-check.sh, run with main's scripts against this head and body: both exit 0.
- Composition ACCEPT on 9c5b1d1e after rebasing onto the merged batch: asynchronous-only snapshot admission is kept, and replay changes no durable outcome or HEAD.
- Code review ACCEPT on 126c893a, no remaining findings: every failed single-filer census passes one classifier that reads the owned context once, so a caller's own cancel, deadline or custom cause is kept through every phase (configuration, master calls, retry pause, target lookup) and the direct catalog dial; only the internal window marker maps to unavailable. Exact advice and the partial verify result are pinned. A delete refused at reservation because a holder is live answers not_admitted, non-retryable, exit 1 ("stop the volume first"); only the final lease horizon after a recorded reservation answers retryable with exit 75.
2026-12-03 11:32:41 -08:00
pingqiu-cpu a90160a1eb ci: run scoped unit tests in three groups on one runner (#1001)
Merge note (batch b2r; pull_request_target spec-trace workflow has a startup_failure, so its checks run locally):
- One Test run (47177109517) succeeded (go test (linux), process-level tests (real binaries)) on the integration tree f57965f8 = main f2bc730b + #1004 #1000 #995 #1001  in this order; these squash merges reproduce that tree, verified after the last one.
- spec-trace-check.sh and public-text-check.sh, run with main's scripts against this head and body: both exit 0.
- Code review ACCEPT on 0950de0d: the unit tests run in three parallel groups inside one job on one runner, any failing or hanging group fails the job, and cancellation is escalated per process group whether or not the group leader has exited.
2026-12-03 11:08:36 -08:00
pingqiu-cpu 2dcbe0eb46 fix(k8s): the generated blockvolume pod starts: host lock directory, release namespace (#995)
Merge note (batch b2r; pull_request_target spec-trace workflow has a startup_failure, so its checks run locally):
- One Test run (47177109517) succeeded (go test (linux), process-level tests (real binaries)) on the integration tree f57965f8 = main f2bc730b + #1004 #1000 #995 #1001  in this order; these squash merges reproduce that tree, verified after the last one.
- spec-trace-check.sh and public-text-check.sh, run with main's scripts against this head and body: both exit 0.
- Code review ACCEPT on 90f98fa6: the generated volume pod gets a writable lock directory as its non-root user and runs in the release namespace beside its TLS secret; leftover pods are found by their volume label. Deleting a volume whose pod ran is out of scope here and tracked separately.
- Security review ACCEPT on 90f98fa6 (hostPath scoped to the lock directory, root only in the init container that sets its owner, main container non-root).
2026-12-03 11:08:25 -08:00
pingqiu-cpu b92dc1fd68 ci: reject private run paths and raw model output (#1000)
Merge note (batch b2r; pull_request_target spec-trace workflow has a startup_failure, so its checks run locally):
- One Test run (47177109517) succeeded (go test (linux), process-level tests (real binaries)) on the integration tree f57965f8 = main f2bc730b + #1004 #1000 #995 #1001  in this order; these squash merges reproduce that tree, verified after the last one.
- spec-trace-check.sh and public-text-check.sh, run with main's scripts against this head and body: both exit 0.
- Code review ACCEPT on f0cbee2a: the public-text check now refuses home-directory paths, run-metadata lines and recorded model-run artifacts in added text and added or modified paths; the path enumeration's exit status is checked before its output is used, so a failed listing never reads as clean.
2026-12-03 11:08:18 -08:00
pingqiu-cpu 16ba3217bc ci: preserve model trace deletions during merges (#1004)
Merge note (batch b2r; pull_request_target spec-trace workflow has a startup_failure, so its checks run locally):
- One Test run (47177109517) succeeded (go test (linux), process-level tests (real binaries)) on the integration tree f57965f8 = main f2bc730b + #1004 #1000 #995 #1001  in this order; these squash merges reproduce that tree, verified after the last one.
- spec-trace-check.sh and public-text-check.sh, run with main's scripts against this head and body: both exit 0.
- Code review ACCEPT on 26a0f300: the model trace file no longer uses a union merge (which silently brought back deleted rows); a checked-in real-git fixture shows a deletion next to an addition now conflicts and that the explicit resolution keeps the deletion; LF and sorted-unique checks stay.
2026-12-03 11:08:02 -08:00
pingqiu-cpu 5ee720d341 docs: Kubernetes quickstart answers the C4 cell run (#993)
Merge note (batch b1; pull_request_target spec-trace workflow has a startup_failure, so its checks run locally):
- One Test run (47164144583) succeeded (go test (linux), process-level tests (real binaries)) on the integration tree 59f6e6ec = main 3ebcac06 + #971 #985 #992 #993  in this order; these squash merges reproduce that tree, verified after the last one.
- spec-trace-check.sh and public-text-check.sh, run with main's scripts against this head and body: both exit 0.
- Docs review ACCEPT on 8e08f88a: v1.1.0 is named as affected on all three pages, no fixed tag or digest is invented, images use $TAG, and the reader is placed on another Ready node that runs the CSI node plugin.
- Independent first-time operator run of this quickstart (three-node k3s) found these documentation gaps; this change answers them. The runtime rerun waits for the release that carries the generated-pod fix.
2026-12-03 10:20:17 -08:00
pingqiu-cpu 473aafc021 fix(cli): allow mTLS credentials for live cluster evidence (#992)
Merge note (batch b1; pull_request_target spec-trace workflow has a startup_failure, so its checks run locally):
- One Test run (47164144583) succeeded (go test (linux), process-level tests (real binaries)) on the integration tree 59f6e6ec = main 3ebcac06 + #971 #985 #992 #993  in this order; these squash merges reproduce that tree, verified after the last one.
- spec-trace-check.sh and public-text-check.sh, run with main's scripts against this head and body: both exit 0.
- Code review ACCEPT on 10b0f56f, no findings: the three master-API commands keep environment defaults, take per-invocation overrides, refuse a partial set, verify the CA and host, and keep the existing RPC deadline; no TLS fallback or auth change.
2026-12-03 10:20:00 -08:00
pingqiu-cpu 05707d5d9a format level: a running holder adopts the finalized level at its renewal (#985)
Merge note (batch b1; pull_request_target spec-trace workflow has a startup_failure, so its checks run locally):
- One Test run (47164144583) succeeded (go test (linux), process-level tests (real binaries)) on the integration tree 59f6e6ec = main 3ebcac06 + #971 #985 #992 #993  in this order; these squash merges reproduce that tree, verified after the last one.
- spec-trace-check.sh and public-text-check.sh, run with main's scripts against this head and body: both exit 0.
- Code review ACCEPT on eaddc4c6 (raise-only format-level adopt) and delta ACCEPT on 533988b6: a capture's HEAD write reads the holder's live format level from the same atomic the projection reports, without the adapter's lock (red: with the projection blocked the old source waited, the new one answers at once). Model check PASS.
- An earlier process-level failure (TestDoubleFailoverReadsBackEveryAckedWrite) did not reproduce in 80 runs on this change and on main; it is tracked separately.
2026-12-03 10:19:38 -08:00
pingqiu-cpu 82e9c5f4c7 feat: plain detach handle, polling stop and backup waits, older-client paths removed (#971)
Merge note (batch b1; pull_request_target spec-trace workflow has a startup_failure, so its checks run locally):
- One Test run (47164144583) succeeded (go test (linux), process-level tests (real binaries)) on the integration tree 59f6e6ec = main 3ebcac06 + #971 #985 #992 #993  in this order; these squash merges reproduce that tree, verified after the last one.
- spec-trace-check.sh and public-text-check.sh, run with main's scripts against this head and body: both exit 0.
- Code review ACCEPT on 99de539f: the operation-count test joins its background worker on every path and exits the test binary if the bounded join times out, so storage never closes under a live worker; production and documentation verdicts from the earlier rounds carry.
- The recorded model-checker outputs that earlier heads committed are removed; the cut-time model results stay outside the repository.
2026-12-03 10:19:26 -08:00
pingqiu-cpu 41de8a137e ci: keep registry classifications stable across line-only rebases (#996)
Merge note (pull_request_target spec-trace workflow has a startup_failure on every branch since 2026-12-02 22:45Z, so its checks run locally):
- Test run 47143803892 succeeded (go test (linux), process-level tests (real binaries)) on head d7e51484 against main fefd83d0, the current main head.
- spec-trace-check.sh and public-text-check.sh, run with the main branch's scripts against this head and body: both exit 0.
- Code review ACCEPT on 1682bcba: 271 bound classifications, citations and notes and 289 trace bindings compared unchanged; source lines are diagnostic only, while a renamed or moved function still changes its key and needs a classification; the union merge keeps concurrent additions and the checker keeps rows sorted and unique.
2026-12-03 08:25:32 -08:00
pingqiu-cpu c273e07beb fix(scripts): the StorageClass secret step runs under gawk 5 (#991)
Merge note (pull_request_target spec-trace workflow has a startup_failure on every branch since 2026-12-02 22:45Z, so its checks run locally):
- Test run 47138633695 succeeded (go test (linux), process-level tests (real binaries)) on head 2eb06afa against main 5fb70a89, the current main head.
- spec-trace-check.sh and public-text-check.sh, run with the main branch's scripts against this head and body: both exit 0.
- Code review ACCEPT (light tier): the awk variable named namespace, a gawk 5 builtin, is renamed in the three Kubernetes helper scripts; shell variables and rendered manifests unchanged.
2026-12-03 07:51:57 -08:00
pingqiu-cpu 381926932f fix(master): the promotion gate says why it keeps or replaces a primary; a dropped tick says why (#990)
Merge note (pull_request_target spec-trace workflow has a startup_failure on every branch since 2026-12-02 22:45Z, so its checks run locally):
- Test run 47131655388 succeeded (go test (linux), process-level tests (real binaries)) on head 704deba0 against main 81fc6043, the current main head.
- spec-trace-check.sh and public-text-check.sh, run with the main branch's scripts against this head and body: both exit 0.
- Code review ACCEPT (light tier): logging only - each master gate line names its decision branch, and the three post-gate returns that were silent now log once per change; no decision changes. Reds shown as mutants.
2026-12-03 07:24:22 -08:00
pingqiu-cpu f1be85bc32 test(recovery): prove lane overlap and join the preceding sender (#994)
Merge note (pull_request_target spec-trace workflow has a startup_failure on every branch since 2026-12-02 22:45Z, so its checks run locally):
- Test run 47126934014 succeeded (go test (linux), process-level tests (real binaries)) on head f3b2b9f6 against main 964a3e15, the current main head.
- spec-trace-check.sh and public-text-check.sh, run with the main branch's scripts against this head and body: both exit 0.
- Code review ACCEPT on f295fac0 (test-only): the previous fixture joins its sender before teardown, and the overlap proof holds BASE inside its first storage read while WAL must make progress; a mutant gating WAL behind BASE fails; 30 consecutive passes.
2026-12-03 06:51:21 -08:00
pingqiu-cpu 39d368e0c7 fix(storage): preserve answered HEAD format refusals (#981)
Merge note (pull_request_target spec-trace workflow has a startup_failure on every branch since 2026-12-02 22:45Z, so its checks run locally):
- Test run 47121908444 succeeded (go test (linux), process-level tests (real binaries)) on head 005a03ab against main b6e76493, the current main head.
- spec-trace-check.sh and public-text-check.sh, run with the main branch's scripts against this head and body: both exit 0.
- Code review ACCEPT on 8ee92c4e (a refusal before any write cannot erase earlier uncertainty; retained work and the composed guard checked); the head since then only merges main. 18a model check PASS.
2026-12-03 06:26:36 -08:00
pingqiu-cpu f5fea69cf7 docs: operations manual for v1.1.x standalone volumes (#974)
Merge note (pull_request_target spec-trace workflow has a startup_failure on every branch since 2026-12-02 22:45Z, so its checks run locally):
- Test run 47118093690 succeeded (go test (linux), process-level tests (real binaries)) on head 47614211 against main 459059b9, the current main head.
- spec-trace-check.sh and public-text-check.sh, run with the main branch's scripts against this head and body: both exit 0.
- Docs review ACCEPT on 783166a2: removal runs only after a successful, empty unit query, SeaweedFS removal requires its unit to be inactive, and the multi-host guidance keeps mutual TLS and loopback guests.
- Independent first-time operator runs on earlier heads of this manual (Ubuntu 24.04 with an upgrade and a reboot, and AlmaLinux 9 with SELinux enforcing over iSCSI) completed with zero workarounds; the later commits fold in their documentation findings.
2026-12-03 05:58:46 -08:00
pingqiu-cpu e4d28bd134 fix: cluster check takes one status address per volume; a volume with a released lease reads stopped (#982)
Merge note (pull_request_target spec-trace workflow has a startup_failure on every branch since 2026-12-02 22:45Z, so its checks run locally):
- Test run 47112416175 succeeded (go test (linux), process-level tests (real binaries)) on head 0732b880 against main bf878eca, the current main head.
- spec-trace-check.sh and public-text-check.sh, run with the main branch's scripts against this head and body: both exit 0.
- Code review ACCEPT on b6ed8e7c ('stopped' narrowed to a released lease; shell and registry tests pass); the head since then only merges main. Exact-head Linux run on d7d4155d: vet, -short and targeted -race all clean.
2026-12-03 05:37:14 -08:00
pingqiu-cpu 85d83237f4 fix(snapshot): omit the uncomputed chunk count from answers (#983)
Merge note (pull_request_target spec-trace workflow has a startup_failure on every branch since 2026-12-02 22:45Z, so its checks run locally):
- Test run 47108982354 succeeded (go test (linux), process-level tests (real binaries)) on head d120a2c3 against main 20d58908, the current main head.
- spec-trace-check.sh and public-text-check.sh, run with the main branch's scripts against this head and body: both exit 0.
- Code review ACCEPT on 18f26292, no findings: the create/list answers drop the uncomputed chunk count without traversing manifests or rewriting receipts.
2026-12-03 05:06:39 -08:00
pingqiu-cpu 687cc31e32 fix(sw-block): volume commands say what they do; restore names an existing volume; a clean stop logs no cancelled closeout (#988)
Merge note (pull_request_target spec-trace workflow has a startup_failure on every branch since 2026-12-02 22:45Z, so its checks run locally):
- Test run 47104755157 succeeded (go test (linux), process-level tests (real binaries)) on head 9cf90ee1 against main e7606462, the current main head.
- spec-trace-check.sh and public-text-check.sh, run with the main branch's scripts against this head and body: both exit 0.
- Code review ACCEPT on d9ec654e (light tier): CLI help, hints, stop text and exit-code items; the stop line now says only what the cut guarantees.
2026-12-03 04:46:04 -08:00
pingqiu-cpu 9b48f286d9 fix(deploy): volume units order after blockmaster without starting it; document the iSCSI port SELinux label (#989)
Merge note (pull_request_target spec-trace workflow has a startup_failure on every branch since 2026-12-02 22:45Z, so its checks run locally):
- Test run 47101740814 succeeded (go test (linux), process-level tests (real binaries)) on head b894d640 against main 2d216e02, the current main head.
- spec-trace-check.sh and public-text-check.sh, run with the main branch's scripts against this head and body: both exit 0.
- Code review ACCEPT on b894d640 (light tier): blockvolume units order After the master without Wants, so a stopped master stays stopped; red test TestBlockvolumeUnitsOrderAfterTheMasterWithoutPullingItIn fails on the base.
2026-12-03 04:20:37 -08:00
pingqiu-cpu 87fe509c4d Normalize chunk CLI transport and snapshot-absence errors (#979)
Merge note (pull_request_target spec-trace workflow has a startup_failure on every branch since 2026-12-02 22:45Z, so its checks run locally):
- Test run 47093927493 succeeded (go test (linux), process-level tests (real binaries)) on head 9ea5ef4a against main f2bad6fb, the current main head.
- spec-trace-check.sh and public-text-check.sh, run with the main branch's scripts against this head and body: both exit 0.
- Code review ACCEPT on 9ea5ef4a (transport classifier sweep, caller cancel kept canceled, registry rows refreshed); runtime source ACCEPT earlier on 196693f3.
2026-12-03 03:39:48 -08:00
Ping Qiu 563d3ef35d ci: unit job cap 60 min, enough for a storage + durable PR (#978)
Interim merge note (spec trace workflow startup_failure since 22:45Z): CI configuration only (unit job cap 40 -> 60 min), released by the release lead after the run-time growth that motivated the earlier hold was fixed separately. go test (linux) and process-level tests (real binaries) passed on 6d4d8e61 against the current main head f41132c1; spec-trace-check.sh and public-text-check.sh run locally: both pass.
2026-12-03 03:04:21 -08:00
pingqiu-cpu 26a6361f6a fix: keep progressing manual cuts alive beyond the total timeout (#964)
Interim merge note (spec trace workflow startup_failure since 22:45Z): go test (linux) and process-level tests (real binaries) passed on 8f14f03a against the current main head 9533b51f; spec-trace-check.sh and public-text-check.sh run locally with the base branch's scripts against this head and body: both pass. Linux qualification at 7be2a259 (8f14f03a differs only in docs/time-bounds.tsv): vet clean, -short of the six touched packages pass, targeted -race -count=2 finds no race; matched-box runtime of chunkstore and durable below main. Code review ACCEPT carried to 7be2a259; model review FINAL ACCEPT (CutTime r8c).
2026-12-03 02:40:36 -08:00
pingqiu-cpu 02127e950e timebound: rows for the maintenance window change's bounds (#984)
Interim merge note (spec trace workflow startup_failure since 22:45Z): registry-only fix for main's red internal/timebound test (bounds that landed with the maintenance window change had no rows). go test (linux) and process-level tests (real binaries) passed on 98d25f29 against the current main head 911c2706; spec-trace-check.sh and public-text-check.sh run locally: both pass.
2026-12-03 02:02:30 -08:00
pingqiu-cpu 6f8f505fa8 sw-block, deploy: cluster check accepts a correct lifecycle setup; one writable store path (#980)
Interim merge note (spec trace workflow startup_failure since 22:45Z): go test (linux) and process-level tests (real binaries) passed on c27c47ea; spec-trace-check.sh and public-text-check.sh run locally with the base branch's scripts against this head and body: both pass. Linux qualification at c27c47ea: vet clean, -short of cmd/sw-block, core/host/master and core/ops pass, targeted -race finds no race. Code review ACCEPT on c27c47ea.
2026-12-03 01:05:59 -08:00
pingqiu-cpu 7cbfb8db61 docs, test: a registry of every fixed time bound in core/ and cmd/ (#970)
Interim merge note (spec trace workflow startup_failure since 22:45Z): go test (linux) and process-level tests (real binaries) passed on 7780e280; spec-trace-check.sh and public-text-check.sh run locally with the base branch's scripts against this head and body: both pass. Code review ACCEPT (scanner and coverage rounds); model review ACCEPT on 7780e280 (row fixes and citations, rebased after the C7 fix).
2026-12-03 00:39:29 -08:00
pingqiu-cpu 91e6f4dfc4 Let progressing maintenance passes finish beyond one minute (#969)
Interim merge note (spec trace workflow startup_failure since 22:45Z): go test (linux) and process-level tests (real binaries) passed on 53d87521; spec-trace-check.sh and public-text-check.sh run locally with the base branch's scripts against this head and body: both pass. Linux qualification at 2def4a14 (53d87521 is its conflict-only rebase): vet clean, -short of the six touched packages pass, targeted -race -count=2 finds no race. Code review ACCEPT carried to 53d87521; model review PASS.
2026-12-03 00:24:37 -08:00
pingqiu-cpu 124e505964 Fix volume-delete list-page cleanup and report legacy residue (#976)
Interim merge note (spec trace workflow startup_failure since 22:45Z): go test (linux) and process-level tests (real binaries) passed on 8cf77831; spec-trace-check.sh and public-text-check.sh run locally with the base branch's scripts against this head and body: both pass. Linux qualification at 8cf77831: vet clean, -short of chunkstore and layout pass, targeted -race -count=2 finds no race. Code review ACCEPT (8cf77831) and model review PASS.
2026-12-02 23:52:06 -08:00
pingqiu-cpu 9d61cd13dd storage: read the COW window entry under its lock in a held-fill test (#975)
Interim merge note (spec trace workflow startup_failure since 22:45Z): test-only fix. go test (linux) and process-level tests (real binaries) passed on 274872a6; spec-trace-check.sh and public-text-check.sh run locally with the base branch's scripts: both pass. Race evidence on a Linux host: go test -race -count=50 of TestCutCOWV3_HeldFillIsCancelledByAbortAndDrained reports one data race and a concurrent map fatal on main a6304c21, and none on 274872a6. Code review ACCEPT on 274872a6.
2026-12-02 22:13:24 -08:00
pingqiu-cpu 8c9358bca0 storage: the cut's pause metric ends at the barrier's Unlock (#972)
Interim merge note (spec trace workflow startup_failure since 22:45Z): metric-only change. go test (linux) and process-level tests (real binaries) passed on b197f5f7 (the first go test run died in an unrelated pre-existing test race in TestCutCOWV3_HeldFillIsCancelledByAbortAndDrained, fixed separately in #975; only the failed job was rerun); spec-trace-check.sh and public-text-check.sh run locally with the base branch's scripts against this head and body: both pass. Code reviews ACCEPT on b197f5f7 (two reviewers).
2026-12-02 20:53:59 -08:00
pingqiu-cpu a6304c2101 feat(geometry): new volumes up to 1 TiB (v1.1) (#757)
Interim merge note (spec trace workflow startup_failure on all branches since 22:45Z): branch updated to current main (69c5c6bd); go test (linux) and process-level tests (real binaries) passed on 69c5c6bd; spec-trace-check.sh and public-text-check.sh run locally with the base branch's scripts against this head and body: both pass (Model line now also cites FormatGate.Report for core/host/master/services.go, mapped since the PR was accepted). Code review ACCEPT on e1ed5073; the 1 TiB loaded first-cut measurement on current main passed on both volume formats.
2026-12-02 18:05:50 -08:00
pingqiu-cpu 53211a2d9d ops chunk verify: --timeout is a no-progress window; add --deadline (#966)
Interim merge note (spec trace workflow startup_failure on all branches since 22:45Z): go test (linux) and process-level tests (real binaries) passed on cc3a8a6c (run 46997615891); spec-trace-check.sh and public-text-check.sh run locally with the base branch's scripts against this head and body: both pass. Code review ACCEPT 6161155789; model review ACCEPT 6161515202 (per-call read/trace follow-up recorded there).
2026-12-02 16:34:31 -08:00
pingqiu-cpu bc617dd5ee test(c3): observe recovery progress on the final restore (#968)
Interim merge note (spec trace workflow startup_failure on all branches since 22:45Z): go test (linux) and process-level tests passed on 7ae34a7e; spec-trace-check.sh and public-text-check.sh run locally against this PR's body and diff on main af07f8be: both pass.
2026-12-02 15:41:21 -08:00
Ping Qiu af07f8be92 Merge pull request #958 from seaweedfs/fix/957-c3-progress-window
fix: observe C3 recovery progress and graceful stop separately
2026-12-02 14:05:35 -08:00
pingqiu 25d640a084 merge main into recovery progress harness 2026-12-02 13:41:55 -08:00
Ping Qiu 9c56ca2e7e Merge pull request #962 from seaweedfs/fix/served-topology-issued
master: a clean move releases the static topology home
2026-12-02 12:46:06 -08:00
Ping Qiu 53d0b7182d Merge pull request #963 from seaweedfs/docs/model-code-trace-batch2
trace: map PageChain, StaleClean and the QueueCap busy wait to code
2026-12-02 12:40:06 -08:00
Ping Qiu 2da3e02cb9 Merge pull request #960 from seaweedfs/fix/fence-durable-slices
storage: fence slices bypass the page cache and are durable before they count
2026-12-02 12:38:07 -08:00
Ping Qiu 8145e4decf Merge pull request #959 from seaweedfs/feat/presync-until-short
storage: the pre-barrier sync repeats until its tail is bounded
2026-12-02 12:37:58 -08:00
pingqiu 116c0de507 test(volume): review recovery snapshot watchdog lock site 2026-12-02 12:30:53 -08:00
pingqiuandClaude Opus 5.5 89923c1d0b Topology-only control: the home slot alone holds the volume before a move
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 12:20:48 -08:00
pingqiuandClaude Opus 5.5 4e49a4e5e6 trace: LayoutStore reuse is StaleClean.Adopt, not Retake
Reuse of an existing object creates, re-stamps or clears the mark,
which is the model's Adopt action; Retake only resets adoption to retry.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 12:07:59 -08:00
pingqiuandClaude Opus 5.5 613b16be98 trace: map PageChain, StaleClean and the QueueCap busy wait to code
Add the file and action rows for PageChain (the snapshot-delete intent
chain and the generic list chain: write page, send, resend, consumer
read/apply/advance/resolve, sweep), StaleClean (the per-object cleaner
against a holder's re-take) and QueueCap's busy-wait path. Docs only;
no code changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 11:58:03 -08:00
Ping Qiu f7b99da650 Merge pull request #961 from seaweedfs/docs/model-code-trace-four-models
trace: map FormatGate, RecoveryProgress and the WALHold queue path to code
2026-12-02 11:54:01 -08:00
pingqiuandClaude Opus 5.5 260aeffda1 storage: #959 gate test joins both workers before the store closes
The cleanup keeps both worker handles in scope: it ends the admitted
write and releases the hold, then joins the hold worker and, if started,
the held extent-write worker, each bounded with a reported timeout, and
closes stop only after the joins.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 11:52:26 -08:00
pingqiuandClaude Opus 5.5 6ee693c3c2 Replacement-path test: the store's own file is fenced (seeded bytes read back zero)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 11:50:04 -08:00
pingqiuandClaude Opus 5.5 63116100fa A clean move also releases the old placement slot; lab-shaped test
A cluster-spec import homes a volume both as a placement and as a
topology slot, and a move rewrites neither: the placement branch now
also yields to a line a move minted on another host. The test moves a
volume homed both ways; a control checks the home before any move.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 11:45:31 -08:00
pingqiuandClaude Opus 5.5 419f2b65b5 storage: #959 tests: contested arrival, a busy-barrier witness, a failed held sync
The gate test runs in a bounded child, sees each side reach the contested
boundary (the hold pending on the gate, the new extent write counted as
waiting) before asserting, and releases and joins on every exit. A new red
holds a capture reader without WAL pressure: the barrier must give the
hold up while that reader is still held and report barrier_busy. A new
control fails the held last pass's own sync (a test-only fault seam) and
requires that error, a released hold and extent draining again; the
cancellation control stays.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 11:43:00 -08:00
pingqiuandClaude Opus 5.5 2fe1b06d1b Fence: O_DIRECT only on the store's own file; qualify the direct path
The O_DIRECT descriptor is used only when it is the same file as the
store's descriptor (os.SameFile); a replaced path is never written. The
tests qualify an aligned O_DIRECT write in their directory and fail on
Linux when it is refused, and the flush-fault test registers its cleanup
first.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 11:38:31 -08:00