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
pingqiu and Claude 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
pingqiu and Claude 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
pingqiu
f2f6f1f2d8
test(storage): isolate drain lock ordering from sample warmup
2026-11-20 06:59:31 -08:00
pingqiu
5de43e8703
test(storage): prove admission drains before the capture barrier
2026-11-20 06:57:59 -08:00
pingqiu and Claude Opus 5.5
15336d7485
test(durable): restore and detach-freeze tests no longer race wall-clock bounds
...
The restore tests ran under a fixed 4-10 s test context; under load the
whole test outran it and a HEAD read or claim failed with a deadline.
They now use a hang guard derived from the test binary's own deadline.
The detach-freeze test held the next CAS, which a running chunk loop
could take instead of the detach, and gave the settlement 75 ms. It now
holds only the detach CAS, uses a 2 s freeze bound (the settlement keeps
500 ms), and checks the abort against the deadlines the detach traced:
the cut deadline at three quarters of the bound, the abort at or after
it, the return within the bound.
Refs #300
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-20 06:53:45 -08:00
pingqiu
4261e3cd0a
Merge remote-tracking branch 'origin/main' into experiment/wal-fdatasync
2026-11-20 06:45:47 -08:00
pingqiu
5a50d30ddd
fix(storage): validate creation policy before file ownership and settle sync helpers
2026-11-20 06:38:01 -08:00
pingqiu
33904ff61d
test(storage): expose create-policy side effects and sync control lifetime gaps
2026-11-20 06:36:11 -08:00
pingqiu
1e2b792f49
docs: align pre-copy invariant with bounded admission drain
2026-11-20 06:27:02 -08:00
pingqiu
802b159c9f
test(storage): distinguish sparse volume space from initialized WAL
2026-11-20 06:24:59 -08:00
pingqiu
ccd94bd232
docs(storage): align data sync and sparse creation contract
2026-11-20 06:23:32 -08:00
pingqiu
7e31afeda1
test(storage): pin drain deadline and exclude late unadmitted writes
2026-11-20 06:22:42 -08:00
pingqiu
a1ce2a4d9e
fix(storage): default Linux data sync to fdatasync and retain sparse creation
2026-11-20 06:22:34 -08:00
pingqiu
0b5a980bc8
test(storage): require sparse creation and refuse fallocate policy
2026-11-20 06:21:58 -08:00
pingqiu
390f8fb32e
test(durable): release tentative admission before rolling uploads
2026-11-20 06:20:39 -08:00
pingqiu
e45513ae9d
test(durable): cover bounded drain FIFO restart and cutover queue budget
2026-11-20 06:17:00 -08:00
pingqiu
f9b8d969ce
test(durable): force first-round convergence with synchronous write pressure
2026-11-20 06:15:45 -08:00
pingqiu
f337e8de99
feat(storage): drain admission before authoritative pre-copy barrier
2026-11-20 06:13:08 -08:00
pingqiu
ffce8c1dd6
feat(durable): bound pre-copy admission drain and preserve queued order
2026-11-20 06:10:23 -08:00
pingqiu
16f3b31e27
test(durable): require bounded pre-copy admission pause
2026-11-20 06:08:22 -08:00
pingqiu
7d1816f0d3
test(storage): make queued caller cancellation explicit for vet
2026-11-20 05:59:13 -08:00
pingqiu
1f4a2d2ad2
test(durable): retain terminal stop semantics for queued pre-copy I/O
2026-11-20 05:54:20 -08:00
pingqiu
e0fe4f72fe
chore: preserve existing UTF-8 source comments
2026-11-20 05:53:18 -08:00
pingqiu
106aa567e2
fix(durable): queue I/O during a pre-copy final freeze
2026-11-20 05:52:22 -08:00
pingqiu
0b5a018160
test(durable): require retryable queued I/O during pre-copy freeze
2026-11-20 05:50:57 -08:00
pingqiu
93d8e6cce9
Merge main and preserve detach fast-poll and urgent cut admission
2026-11-20 05:23:19 -08:00
pingqiu
db07ef2c16
docs: align replica lifecycle and promotion guard models
2026-11-20 05:23:15 -08:00
pingqiu and Claude Opus 5.5
f1c1a0942c
Merge main ( #291 ) into the grant-lease branch
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-20 05:20:48 -08:00
pingqiu
704eedac67
fix: guard promotion readiness and retire settled replica sessions
2026-11-20 05:17:12 -08:00
pingqiu
61274080b0
test: reproduce false readiness and retained settled replica coverage
2026-11-20 05:17:12 -08:00
pingqiu
7261411c46
docs: state prefix provenance and remaining healthy-run bound
2026-11-20 05:17:12 -08:00
pingqiu
8bd459c24a
fix: require a covered starting image before extending replica prefix
2026-11-20 05:17:12 -08:00
pingqiu
78781527ae
test: bind wire pruning assertion to its actual recovery session
2026-11-20 05:17:12 -08:00
pingqiu
7b2522b485
test: refuse prefix certification from plain healthy probes
2026-11-20 05:17:12 -08:00
pingqiu
ed08492b87
test: specify certified prefix pruning and recovery coverage guards
2026-11-20 05:17:12 -08:00