Commit Graph
3468 Commits
Author SHA1 Message Date
pingqiu b1124f739e test: expose unavailable-pool policy and process-local pacing scope 2026-11-20 02:39:34 -08:00
pingqiu b621337dc6 Merge remote-tracking branch 'origin/main' into feat/host-cut-limiter
# Conflicts:
#	docs/design/invariants.md
2026-11-20 02:38:04 -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
pingqiuandClaude Opus 5.5 8f7dd2dd44 test: cover the authority-line serving path and a node leaving the co-located set
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 02:10:45 -08:00
pingqiuandClaude Opus 5.5 2134f9ebc3 test: give the product-loop pool a block size
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 02:10:44 -08:00
pingqiuandClaude Opus 5.5 e57f399c07 feat: detect master journal sharing and alarm on lease headroom
A volume whose durable root sits on the authority store's file system
shares its jbd2 journal: under a WAL fsync storm the lease extensions
lag, grants clamp to the durable horizon and leases run out.

- core/storeident: (machine-id, st_dev) identity of a directory; unknown
  never matches.
- Heartbeats carry the durable root's identity (machine_id,
  durable_root_dev); the master compares it with its authority store,
  logs and counts co-located nodes once per detection.
- --strict-journal-isolation (default off = alarm only): refuses
  heartbeats of a co-located node that serves no volume (durable state
  decides), and refuses PlaceWorkspace/MoveWorkspace and new product-loop
  placements onto co-located nodes.
- Publisher: headroom alarm while an extension is pending and headroom
  < 1.125 TTL (before the first clamp), clamp counters (total, last
  minute), min headroom at grants, lazy per-minute summary;
  WorkspaceLeaseStats snapshot.
- --status-listen (loopback only): GET /status/workspace-lease JSON.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 02:10:44 -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 9fc77218b2 test(storage): add isolated block replay helper for sync controls 2026-11-20 01:15:39 -08:00
pingqiu 147bb23142 test(storage): reproduce late-owner HEAD success and cleanup hazards 2026-11-20 01:15:36 -08:00
pingqiu 6121830f79 feat(storage): expose sparse fallocate and prezero allocation arms 2026-11-20 01:14:33 -08:00
pingqiu dd759ed074 test(storage): join both burst writers after cleanup timeout 2026-11-20 01:12:03 -08:00
pingqiu e542f93a0a test(storage): correct native retirement crash and codec oracles 2026-11-20 01:11:58 -08:00
pingqiu 840a943394 test(storage): expose record-prefix and missing checkpoint hook oracles 2026-11-20 01:10:56 -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
pingqiu 94a9aac74f test(storage): cover strict and lagged sync crash paths 2026-11-20 01:08:56 -08:00
pingqiu 781e842ef1 test(storage): expose syscall probe and record sync contract 2026-11-20 01:06:31 -08:00
pingqiu 2042e3422b feat(storage): add opt-in data sync and initialized file experiments 2026-11-20 01:05:56 -08:00
pingqiu 73707d9f61 test(storage): require initialized prezero files and crash readback 2026-11-20 01:04:54 -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 442cbe3d64 Correct native append enforcement symbols 2026-11-20 00:41:19 -08:00
pingqiu 16837cbdcb Point retained WAL invariants at native enforcement 2026-11-20 00:40:53 -08:00
pingqiu 2f6cf84c04 test(storage): witness unread candidates after hot-first ordering 2026-11-20 00:39:11 -08:00
pingqiu a15b174c72 Align isolation oracle with complete constructor removal 2026-11-20 00:39:04 -08:00
pingqiu acd961e40e Assert exact inherited native image after seeded cut 2026-11-20 00:38:40 -08:00
pingqiu 32da5cf29e Remove orphaned v2 disk fixtures and prevent raw codec revival 2026-11-20 00:37:23 -08:00
pingqiu 782505510a fix(storage): allow bounded saver admission for write bursts 2026-11-20 00:36:47 -08:00
pingqiu c02464ad44 Merge branch 'main' of https://github.com/seaweedfs/seaweed-block into feat/retire-v2-local-format 2026-11-20 00:35:32 -08:00
pingqiu c5027a8bf5 Bind birth lock-budget fixture to native map state 2026-11-20 00:35:11 -08:00
pingqiu 6e5e6196f6 Join retired tests to native invariant controls 2026-11-20 00:33:52 -08:00
pingqiu 94aface439 fix(volume): report local cut abort before cancelled upload 2026-11-20 00:33:50 -08:00
pingqiu 75721fc6cd Format native-only engine and update admission comments 2026-11-20 00:29:38 -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