pingqiu and Claude 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
pingqiu and Claude 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
pingqiu
8be2e13128
test: witness local reads progress past a stalled upload
2026-11-19 20:20:40 -08:00
pingqiu
260921eef3
fix: validate saved WAL blocks into the owned chunk buffer
2026-11-19 20:17:47 -08:00
pingqiu
f87f513bdf
test: cover cut abort status and named snapshot failure
2026-11-19 20:16:35 -08:00
pingqiu
d3ad5aa87c
test: assert retry deadline and intent coverage
2026-11-19 20:16:35 -08:00
pingqiu
c9d13e1b6e
fix: bound cut intent traffic and batch read scratch
2026-11-19 20:16:35 -08:00
pingqiu
9edf300fd7
test: expose cut intent amplification and batch read scratch growth
2026-11-19 20:16:35 -08:00
pingqiu
77fc4e5c12
fix(volume): expose the COW read counters in cut responses
2026-11-19 20:16:35 -08:00
pingqiu
ed5d4369e7
docs(storage): define budget admission and revocation lifetime
2026-11-19 20:16:35 -08:00
pingqiu
1d2f68f75a
test(storage): keep budget tickets until revoked capture workers join
2026-11-19 20:16:35 -08:00
pingqiu
80740d5d80
feat(storage): call the host budget seam at cut and COW admission
2026-11-19 20:16:35 -08:00
pingqiu
6ad15dd16f
test(storage): require budget admission and COW reservation hooks
2026-11-19 20:16:35 -08:00
pingqiu
6caa8699cb
docs(storage): describe the configurable cut payload bound
2026-11-19 20:16:35 -08:00
pingqiu
34bee24be2
fix(storage): enforce the configured per-volume cut payload budget
2026-11-19 20:16:35 -08:00
pingqiu
46505243db
test(storage): bound cut slots by configured payload budget
2026-11-19 20:16:35 -08:00
pingqiu
ce7d290d4a
test(storage): verify hottest-first copy and upload order
2026-11-19 20:16:35 -08:00
pingqiu
fc06e7f6c4
test(storage): distinguish upload retry from abandoned cut points
2026-11-19 20:16:35 -08:00
pingqiu
df5d3a6d7d
storage: keep zero-data guest writes progressing without aborting updates
2026-11-19 20:16:35 -08:00
pingqiu
bc73b9920a
storage: let local reads re-resolve across flushing without pinning WAL
2026-11-19 20:16:35 -08:00
pingqiu
a4ec0e2396
storage: require unpinned WAL progress and frozen-slot PUT retries
2026-11-19 20:16:35 -08:00
pingqiu
24405a8a28
storage: settle reusable intent roots once per wave after a definite outcome
2026-11-19 20:16:35 -08:00
pingqiu
7cc044549f
storage: retain the concurrent HEAD oracle across locally refused cut points
2026-11-19 20:16:35 -08:00
pingqiu
67a18b151b
storage: account for local COW WAL reads and measure a full WAL-resident chunk
2026-11-19 20:16:35 -08:00
pingqiu
2717e4ec69
storage: bind chunk capture and flush contracts to the local borrow lifetime
2026-11-19 20:16:35 -08:00
pingqiu
8cb3295c94
storage: defer claimed chunks during flush and cap reclaim below skipped entries
2026-11-19 20:16:35 -08:00
pingqiu
69a1689ee4
storage: require the flusher to defer claimed chunks without a global pause
2026-11-19 20:16:34 -08:00
pingqiu
0c02f20eac
storage: document adaptive staging contracts and exercise steady hot writes
2026-11-19 20:16:34 -08:00
pingqiu
36ab0e877f
storage: settle retry roots on fencing and retain coverage of adaptive staging
2026-11-19 20:16:34 -08:00
pingqiu
8cb5d55d1b
storage: stage against the spill budget and retain completed uploads across attempts
2026-11-19 20:16:34 -08:00
pingqiu
50fe295fef
storage: require budget-triggered precopy and reuse after cut abort
2026-11-19 20:16:34 -08:00
pingqiu
df02fcbbe7
storage: cover fresh first cuts with images four times the spill limit
2026-11-19 20:16:34 -08:00
pingqiu
f883a3f769
storage: retain exact intent coverage in bounded streaming waves
2026-11-19 20:16:34 -08:00
pingqiu
48b4c0cc18
storage: refuse regressed frontiers before streaming payloads
2026-11-19 20:16:34 -08:00
pingqiu
9da685d89e
storage: verify recent chunks lead the streamed upload order
2026-11-19 20:16:34 -08:00
pingqiu
e94aac6faf
storage: document streamed cut ownership and cover held remote saves
2026-11-19 20:16:34 -08:00
pingqiu
a6a0e709ad
storage: preserve window cancellation and witness hot-first copy ordering
2026-11-19 20:16:34 -08:00
pingqiu
8d26201590
storage: stream cut images with bounded upload workers
2026-11-19 20:16:34 -08:00
pingqiu
ce7b992f12
storage: require cut publication beyond the COW spill cap
2026-11-19 20:16:34 -08:00
pingqiu
8e42479b77
docs: place payload resource contract in the invariant ledger
2026-11-19 20:16:34 -08:00
pingqiu
b17761ee02
test: join local payload writes and uploads before cleanup
2026-11-19 20:16:34 -08:00
pingqiu
a3d2b3e3d8
test: release held uploads before failure cleanup joins
2026-11-19 20:16:34 -08:00
pingqiu
ae8faa3fcb
docs: bind cut payload limits to the resource regressions
2026-11-19 20:16:34 -08:00