Commit Graph
2051 Commits
Author SHA1 Message Date
pingqiu ed867d0c4e test(storage): retain slow samples while permitting declared plateau commits 2026-11-20 14:34:16 -08:00
pingqiu e29829bbac test(storage): compose pre-copy exception controls and bounded admission model 2026-11-20 14:32:12 -08:00
pingqiu 24e3ba4ad0 fix(storage): declare stalled fixed-bound pre-copy commits and cost parts 2026-11-20 14:27:49 -08:00
pingqiu 9f50a717fd test(storage): distinguish fixed-bound and tail-bound pre-copy costs 2026-11-20 14:24:16 -08:00
Ping Qiu f670a97977 Merge pull request #308 from seaweedfs/train/20261120-1
Train 1: #294, #305
2026-11-20 13:42:43 -08:00
pingqiuandClaude Opus 5.5 7a37edaa89 Merge #305 (hosted legacy-fixture job) into train 1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 13:12:53 -08:00
pingqiuandClaude Opus 5.5 602c8f3ad4 Merge #294 (pre-copy, default off) into train 1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 13:12:53 -08:00
pingqiuandClaude Opus 5.5 7271a21877 ci: run the legacy-fixture job on the tp04 runners too
The hosted runner queue for this org waited 2 h 18 min for the job on this
PR's own run (created 18:03Z, started 20:21Z), which blocks every merge on
it. tp04 now has two runner instances with the same label, so the
legacy-fixture job uses the default job's routing: same-repo PRs and pushes
run both passes in parallel on tp04, fork PRs stay on a hosted runner.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 13:12:41 -08:00
pingqiu 0dc4597555 Merge main with v3-only capture and detach cancellation witnesses 2026-11-20 12:31:02 -08:00
Ping Qiu b11159a9af Merge pull request #306 from seaweedfs/test/303-settle-bound
test(durable): settle-bound test asserts against traced deadlines
2026-11-20 12:29:11 -08:00
Ping Qiu 21d396319f Merge pull request #304 from seaweedfs/test/302-cut-cause
test(durable): witness the detach CAS's cancellation at the traced cut
2026-11-20 12:02:45 -08:00
pingqiuandClaude Opus 5.5 090a8fe3af test(durable): settle-bound test asserts against traced deadlines and witnesses the held read
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 11:44:06 -08:00
pingqiu 610c39aee9 test(storage): distinguish measured refusal in retry and drain controls 2026-11-20 10:14:15 -08:00
pingqiu 127a122785 test(storage): reproduce over-budget retry and drain controls 2026-11-20 10:13:02 -08:00
pingqiuandClaude Opus 5.5 5c09597320 test(durable): count only an in-window sample of a held CAS as the cut witness
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 10:12:33 -08:00
pingqiuandClaude Opus 5.5 3173a85585 ci: run the legacy-fixture pass on a hosted runner in parallel
The two test passes ran back to back on the single tp04 runner and, under
load, together outran the 25-minute job timeout. The legacy-fixture pass
now runs as its own job on ubuntu-latest, in parallel with the default pass
on tp04, so each job carries one pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 10:02:53 -08:00
Ping Qiu 7fe86bfb94 Merge pull request #301 from seaweedfs/test/300-timing-bounds
test: restore, detach-freeze and revocation-ACK tests no longer race wall-clock bounds
2026-11-20 10:01:41 -08:00
Ping Qiu c628c09e59 Merge pull request #290 from seaweedfs/feat/master-journal-isolation
master: detect a shared authority journal; lease headroom alarm
2026-11-20 09:23:24 -08:00
Ping Qiu 41142f96ba Merge pull request #283 from seaweedfs/feat/retire-v2-local-format
storage: retire the legacy v2 local engine
2026-11-20 09:23:08 -08:00
pingqiuandClaude Opus 5.5 054f27ed98 test(durable): witness the detach CAS's cancellation at the traced cut
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 09:13:41 -08:00
pingqiuandClaude Opus 5.5 da8b29cd47 test: join only a launched ACK worker; composable held-CAS witness
The revocation ACK test records whether its worker was launched: every
exit still releases the held call, but only a launched worker is joined,
so a setup failure before the launch no longer waits 10 s for a sender
that does not exist or reports a join failure that did not happen.

The detach-freeze witness checks the held CAS's context deadline only
when the context carries one, and in every case that the CAS ended no
earlier than the cut deadline, so it also holds if the cut bounds the CAS
by a cancelling timer instead of a deadline.

Refs #300

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 08:57:52 -08:00
pingqiu 8b3c48771c docs: map retained-cost pre-copy regression controls 2026-11-20 08:35:37 -08:00
pingqiu 0fa349c78d test(storage): accept measured pre-copy refusals without losing service 2026-11-20 08:34:54 -08:00
pingqiu 69cda12786 test(storage): reproduce slow-sample pre-copy control failures 2026-11-20 08:33:32 -08:00
pingqiuandClaude Opus 5.5 8ac890e0cd Merge main (a1c28e6d) into the v2-retirement branch
Conflicts were only between the v2 removal and the sync policy from #286:
- wal_writer.go: stays deleted (no v3 code uses walWriter); #286's change there applied only to the v2 writer.
- walstore.go, legacy create/open constructors: stay deleted.
- walstore.go, openInitializedV3: keeps the v3 signature and the unconditional init, and takes #286's newDataFileSync for both the WAL and extent syncs.

The two plain f.Sync() calls that main has and this tree drops are in the legacy create constructor and the legacy superblock writer, both removed with v2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 08:17:39 -08:00
pingqiu f4ce23ce12 fix(durable): preserve queued pause on contended freeze fallback 2026-11-20 08:12:51 -08:00
pingqiu 5d82c26a0c test(durable): witness pre-copy fallback queue replacement 2026-11-20 08:12:03 -08:00
pingqiu 61cf283387 Merge remote-tracking branch 'origin/main' into feat/precopy-final-tail 2026-11-20 08:11:34 -08:00
Ping Qiu a1c28e6d99 Merge pull request #286 from seaweedfs/experiment/wal-fdatasync
fix(storage): default Linux data sync to fdatasync with sparse creation
2026-11-20 08:09:43 -08:00
Ping Qiu 653b112f5a Merge pull request #296 from seaweedfs/fix/move-grant-starts-lease
authority: an issued move starts the new holder's lease; forced moves can re-assign an unclaimed grant
2026-11-20 08:09:34 -08:00
Ping Qiu f2f22bb8ce Merge pull request #293 from seaweedfs/fix/recovery-event-dedup
fix: deduplicate recovery observations and reject cross-session stale writes
2026-11-20 08:09:25 -08:00
pingqiu 3c570faea8 Merge handed-off StopIO boundary implementation without duplicate logs 2026-11-20 07:57:47 -08:00
pingqiu 8f3054f52a durable: log precise StopIO return boundary after detach barrier 2026-11-20 07:54:51 -08:00
pingqiu e62b039cd7 test(durable): witness StopIO return before final HEAD publication 2026-11-20 07:54:17 -08:00
pingqiu 9972bfb70c test(durable): allow the serving phase its pre-copy operation deadline 2026-11-20 07:52:50 -08:00
pingqiu 93449232f7 Merge remote pre-copy reporting before takeover fixes 2026-11-20 07:50:02 -08:00
pingqiu 2639a1e6c4 fix(durable): preserve measured retry refusal and timestamp completed I/O stops 2026-11-20 07:46:07 -08:00
pingqiu f6995c899a test(durable): reproduce retained slow-cost refusal after busy owner release 2026-11-20 07:43:53 -08:00
pingqiu 6c17c0c901 storage: report warm pre-copy attempts separately from sampling rounds 2026-11-20 07:41:24 -08:00
pingqiu 68d8cabada test(storage): distinguish warm attempts from measurement rounds 2026-11-20 07:40:14 -08:00
pingqiu 0141be5aaf feat(storage): report each pre-copy admission attempt outside the barrier 2026-11-20 07:27:14 -08:00
pingqiu 1aa87c60d3 test(durable): require diagnostics for every pre-copy drain attempt 2026-11-20 07:26:09 -08:00
pingqiuandClaude Opus 5.5 5aab45c9dd test: witness the held detach CAS; bounded ACK join; proportional hang guard
DetachFreeze now witnesses the held detach CAS itself: it was held, ran
under exactly the cut deadline, and was released by that deadline expiring
before the detach returned. The budget is checked from its one origin (the
settlement deadline a quarter of the bound after the cut deadline), not
against a start time sampled outside DetachVolume.

The revocation ACK test registers, before either worker launches, an
idempotent release and a join bounded on its own, so a blocked ACK that
used up the fixture context still releases and joins the held operation.

hangGuard keeps a tenth of the remaining budget (at most 30 s) before the
binary's deadline, also for short or nearly expired budgets, and an
expired budget gives an expired guard; unit-tested.

Refs #300

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 07:18:16 -08:00
pingqiu 14cd10d361 docs: pin held-command lifetime through host and transport drain 2026-11-20 07:16:09 -08:00
pingqiu fdd23d4efd test(durable): allow a staged empty tail without upload samples 2026-11-20 07:15:44 -08:00
pingqiu 83b00b62db fix(nvme): cancel held commands before joining a closed session 2026-11-20 07:09:35 -08:00
pingqiu 924d621e5c test(nvme): require teardown to cancel frozen commands without a CQE 2026-11-20 07:08:44 -08:00
pingqiu 78c90bc9b5 fix(durable): retain frozen commands through the host drain 2026-11-20 07:07:31 -08:00
pingqiu 26dda9cf56 test(durable): reproduce cold convergence and post-cut host drain completions 2026-11-20 07:05:17 -08:00
pingqiuandClaude Opus 5.5 bce9b4f99e test(master): the revocation ACK test no longer races a 1 s bound
The ACK in TestWorkspaceBindingRemoteReadDoesNotBlockAck ran under a
fixed 1 s deadline that also covered a durable persist, so a loaded host
could fail it with nothing blocked. It now runs under the test's own
context: the held remote call is released only after the ACK returns,
so an ACK that waited for it still fails at that deadline.

Refs #300

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 07:04:32 -08:00