Commit Graph
1829 Commits
Author SHA1 Message Date
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
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
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
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