Commit Graph
1856 Commits
Author SHA1 Message Date
pingqiu f28b4f271c storage: measure disjoint pre-copy payload and fixed costs 2026-11-20 03:47:27 -08:00
pingqiu 89b7f37290 test: pre-copy exhaustion and aborted rounds preserve old service 2026-11-20 03:45:27 -08:00
pingqiu 27f1f5beda durable: preserve freeze deadline cause during settlement 2026-11-20 03:44:14 -08:00
pingqiu 6f771c8169 durable: wire opt-in pre-copy into settled detach lifecycle 2026-11-20 03:43:25 -08:00
pingqiu c64244c61d test: tentative freeze never waits for admitted frontend I/O 2026-11-20 03:42:11 -08:00
pingqiu 6bbdbc3983 storage: admit final detached cut at tentative capture barrier 2026-11-20 03:41:09 -08:00
pingqiu 80e40c6cc0 test: read local blocks through store interface 2026-11-20 03:40:12 -08:00
pingqiu 0bccd0d686 test: require rolling pre-copy before final detach 2026-11-20 03:39:58 -08:00
Ping Qiu c5bc3f82a1 Merge pull request #288 from seaweedfs/fix/head-takeover-belt
storage: confirm HEAD ownership before serving and settling cuts
2026-11-20 03:36:58 -08:00
pingqiu 9a88af11f8 Merge main into HEAD belt and retain both invariant rows 2026-11-20 03:05:48 -08:00
pingqiu 25e60aa27e test: witness permanently held attach resolution with reviewed source unchanged 2026-11-20 02:21:00 -08:00
Ping Qiu 50fb815470 Merge pull request #284 from seaweedfs/fix/cut-abort-reason
fix(storage): tolerate short saver bursts and report local aborts
2026-11-20 02:15:19 -08:00
pingqiu 4a341d1683 fix(durable): preserve caller deadline through bound claim cancellation 2026-11-20 02:07:14 -08:00
pingqiu ad494f7200 test: hold ambiguous outcome lookup during permanent attach outage 2026-11-20 02:06:48 -08:00
pingqiu 257c50e2f2 fix: bound HEAD operations and confirm single-filer claims immediately 2026-11-20 01:59:30 -08:00
pingqiu ff4d1195ba test: cover empty-base fence and bounded single-point claims 2026-11-20 01:57:24 -08:00
pingqiu 271b98eb2c fix(durable): cancel takeover cooling when provider closes 2026-11-20 01:40:49 -08:00
pingqiu dbfa9424ae test(durable): reach a new-epoch claim in close cancellation control 2026-11-20 01:40:18 -08:00
pingqiu 2e764385b7 test(durable): retain backend reference for close probe 2026-11-20 01:37:26 -08:00
Ping Qiu e6c74a55bc Merge pull request #285 from seaweedfs/feat/blockvolume-single-filer
blockvolume: refuse to start unless the chunk filer is the only filer
2026-11-20 01:37:09 -08:00
pingqiu 1cfc09de45 test(durable): bound provider close during takeover cooling 2026-11-20 01:37:03 -08:00
pingqiu 9759dc02d6 fix(storage): retain takeover cooling across retries and hydration fencing 2026-11-20 01:31:33 -08:00
pingqiu dd38de086c test(storage): prevent retries from bypassing takeover cooling 2026-11-20 01:26:58 -08:00
pingqiu 40f1df163d test(storage): include takeover cooling in restore fixture deadlines 2026-11-20 01:25:04 -08:00
pingqiu 816eb03286 fix(storage): confirm publication from validated root without segment scans 2026-11-20 01:22:57 -08:00
pingqiu c39240587f test(storage): require root-only HEAD publication confirmation 2026-11-20 01:22:16 -08:00
pingqiu 71d6c6b846 fix(storage): keep fences sticky and settle confirmed intent roots 2026-11-20 01:20:49 -08:00
pingqiu bb9a22da21 fix(storage): retain protected intents through fence cleanup and close 2026-11-20 01:18:35 -08:00
pingqiu 74aab9a442 fix(storage): confirm HEAD publication and fence displaced owners 2026-11-20 01:17:23 -08:00
pingqiu 147bb23142 test(storage): reproduce late-owner HEAD success and cleanup hazards 2026-11-20 01:15:36 -08:00
pingqiu dd759ed074 test(storage): join both burst writers after cleanup timeout 2026-11-20 01:12:03 -08:00
pingqiuandClaude Opus 5.5 3d850aa236 chunkstore: compare filer addresses with their zone; recheck the deadline
isTarget compares resolved addresses with netip (IPv6 zone included);
an address that does not parse never matches. A round whose bound ran
out while a later master was still being asked does not pass on an
earlier favourable answer. The ledger row maps to the M4 table.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 01:10:15 -08:00
pingqiuandClaude Opus 5.5 961f08f66e chunkstore: the single filer must be the configured one, on every master
A pass now needs a master listing exactly the configured filer (same
gRPC port, same or co-resolving host). Every master is asked: any
master listing another filer or several refuses at once, whichever
answers first. Each master call is bounded within the remaining time,
so a stalled master no longer consumes the whole bound. Startup census
only; invariant INV-WS-SINGLE-FILER-001 and its M6 row record it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 00:53:13 -08:00
pingqiu cfd2a8332c fix(volume): retain terminal close precedence for aborted cuts 2026-11-20 00:49:09 -08:00
pingqiu 2f6cf84c04 test(storage): witness unread candidates after hot-first ordering 2026-11-20 00:39:11 -08:00
pingqiu 782505510a fix(storage): allow bounded saver admission for write bursts 2026-11-20 00:36:47 -08:00
pingqiu 94aface439 fix(volume): report local cut abort before cancelled upload 2026-11-20 00:33:50 -08:00
pingqiuandClaude Opus 5.5 7578b34095 chunkstore: wait for the filer to register before refusing
A fresh filer registers with its master some seconds after it serves
(14 s in the swap smoke), so "no filer listed" is asked again every
second until a 60 s bound and refused only then. Several filers are
still refused at once; an unreachable master is retried the same way.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 00:28:23 -08:00
pingqiuandClaude Opus 5.5 a5785ff688 blockvolume: refuse to start unless the chunk filer is the only filer
Block metadata needs exactly one filer behind --chunk-filer. At startup
the chunk wiring asks that filer for its masters and filer group
(filer_pb.SeaweedFiler/GetFilerConfiguration), then the masters for the
filers of that group (master_pb.Seaweed/ListClusterNodes). It refuses
unless a master lists exactly one, and when it cannot get that answer
within 15 s. The filer subset gains GetFilerConfiguration and a master
subset carries ListClusterNodes, generated with the committed plugin
versions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 00:20:10 -08:00
Ping Qiu b42815eb3b Merge pull request #282 from seaweedfs/feat/blockvolume-pprof-fsync-hist
blockvolume: opt-in CPU profile toggled by SIGUSR1
2026-11-20 00:18:03 -08:00
pingqiuandClaude Opus 5.5 26e34b6b9a test: expect the profile dir refused where SIGUSR1 is missing
On platforms without SIGUSR1 a set --cpu-profile-dir is refused in flag
parsing; the default (off) stays common to all platforms.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 23:57:18 -08:00
pingqiuandClaude Opus 5.5 fb939adb8a blockvolume: validate the profile dir before startup; stop joins the worker
parseFlags refuses an unusable --cpu-profile-dir (and a platform without
SIGUSR1) before run() activates anything; the handler is installed at
the top of run(). stop removes the handler, stops and joins the signal
worker, then writes out a running profile, so a buffered SIGUSR1 cannot
start a profile after it. Tests decompress the whole profile and check
that no profile runs after stop.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 23:47:25 -08:00
pingqiuandClaude Opus 5.5 39f011555a blockvolume: opt-in CPU profile toggled by SIGUSR1
--cpu-profile-dir (default $SWBLOCK_CPU_PROFILE_DIR) names an existing
directory; SIGUSR1 then starts a CPU profile written there as
blockvolume-<pid>-<n>.pprof and the next SIGUSR1 stops it. Shutdown
writes out a running profile. Unset (the default), nothing is installed
and blockvolume is unchanged. No port is opened, so a harness can
profile any running volume with kill -USR1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 23:36:05 -08:00
Ping Qiu 26c13b50a4 Merge pull request #279 from seaweedfs/test/cut-upload-deadline-class
test: require upload retries to reach the caller deadline
2026-11-19 21:36:37 -08:00
pingqiu b16782dcf9 test: require upload retries to reach the caller deadline 2026-11-19 21:13:15 -08:00
Ping Qiu 74823e651a Merge pull request #271 from seaweedfs/fix/bounded-cut-payloads
storage: bound cut payload memory
2026-11-19 21:10:59 -08:00
pingqiu 1903666200 fix: clean settled roots after provider cancellation 2026-11-19 20:30:37 -08:00
pingqiu 4c7dd6e749 docs: record cut retry deadline and causal controls 2026-11-19 20:26:18 -08:00
pingqiu b27e18265e test: check large candidate intent counts and attached batch scratch 2026-11-19 20:22:33 -08:00
pingqiu 69072a0c27 fix: let bounded upload workers advance independently 2026-11-19 20:21:14 -08:00