Commit Graph
34 Commits
Author SHA1 Message Date
pingqiu a9a2cfa936 style: group create-admission imports 2026-11-18 23:10:20 -08:00
pingqiu 9e809120f4 fix: admit original geometry before every durable create 2026-11-18 23:08:47 -08:00
pingqiu c4a37fd4a0 test: cover create admission callers and legacy retry 2026-11-18 23:07:15 -08:00
pingqiuandClaude Opus 5.5 f08ee20c0b feat(recovery,storage): BASE install seam with a handle; dual-lane receiver on it (row 9b)
DESIGN r17.3.1 section 8.7:

- BaseInstallPreparer.BeginBaseInstall(baseLSN, installID) returns an
  InstallHandle (WriteBase, ApplyInstallEntry, MarkBaseComplete). The v3
  WALStore runs the row 9a begin; a v2 WALStore and stores without the
  seam get the legacy handle, which keeps their exact pre-seam behaviour
  (WriteExtentDirect, ApplyEntry, AdvanceFrontier(baseLSN)) and stages a
  BaseStager store lazily before the first BASE block or completion.
  parallelwal's staging step is renamed BaseStager.BeginBaseStage; the
  legacy replica caller uses it unchanged (row 10 rewrites that caller).
- The dual-lane Receiver begins the install at SessionStart, inside the
  counted section, at FromLSN under a fresh random ID; RebuildSession
  writes, applies and completes only through the handle, and
  MarkBaseComplete's error now fails the session with no ack.
- Tagged (swblock_format_v3_test) controls through the real receiver on
  a dark v3 store: the positive rebuild, the held-write drain, the parked
  frame for both lanes, and a superseded BaseDone failing without an ack.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 12:09:37 -08:00
pingqiuandClaude Opus 5.5 ca96d50bba storage: fuzz the smartwal record and parallelwal record and header codecs
- smartwal: decode never panics, a rejected slot is the zero record, an
  accepted slot round-trips; slots with non-zero reserved bytes (covered by
  the CRC but ignored) are pinned as a known gap.
- parallelwal: an accepted record re-encodes to exactly its bytes; every
  encoded record decodes back; a CRC-valid header slot built from fuzz bytes
  is rejected as the zero header or survives an encode/decode round trip.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 13:06:00 -08:00
pingqiu feb207a341 phase169: remove rejected segmented WAL candidate 2026-07-30 00:43:24 -07:00
pingqiu 5479db7ae9 phase169: equalize pre-admission controls 2026-07-30 00:33:37 -07:00
pingqiu 7423c0ada3 phase169: harden segment performance admission 2026-07-30 00:29:53 -07:00
pingqiu ab0d843575 phase169: add segment performance pre-admission gate 2026-07-30 00:21:00 -07:00
pingqiu c549124840 phase169: fence publication during durability barriers 2026-07-30 00:10:52 -07:00
pingqiu 4601ff64c2 phase169: add segmented WAL durability coordinator 2026-07-30 00:07:38 -07:00
pingqiu 358552700c phase169: add bounded segmented WAL owner 2026-07-29 23:48:52 -07:00
pingqiu 5f69697b2a phase169: prove segmented WAL format recovery 2026-07-29 23:29:28 -07:00
pingqiu 0fdf4a5c28 phase168: remove rejected native WAL candidate 2026-07-29 23:07:02 -07:00
pingqiu 1f0e15115d phase168: bound per-lane native encode capacity 2026-07-29 22:53:36 -07:00
pingqiu 1e641d9a4b phase168: run bounded native buffer reuse decision 2026-07-29 22:49:08 -07:00
pingqiu 29165b3edb phase168: add comparable native WAL performance gate 2026-07-29 22:32:17 -07:00
pingqiu 247defd1e6 phase168: replace self-proving native shape checks 2026-07-29 22:28:43 -07:00
pingqiu 3c6f5c7b6f phase168: harden native WAL shape evidence 2026-07-29 22:18:05 -07:00
pingqiu c7b61d4f36 phase168: add native WAL execution shape gate 2026-07-29 22:08:20 -07:00
pingqiu 4ab1a426b0 phase168: prioritize durability barriers between rounds 2026-07-29 21:56:45 -07:00
pingqiu 457c5ad816 phase168: terminalize native fsync failures 2026-07-29 21:48:52 -07:00
pingqiu d421f743c6 phase168: add native WAL durability gate 2026-07-29 21:44:34 -07:00
pingqiu ffff25e069 phase168: fence native WAL durability through owner 2026-07-29 21:43:58 -07:00
pingqiu e360536dc6 phase168: count admitted native WAL requests 2026-07-29 21:38:36 -07:00
pingqiu 95c14c22f1 phase168: poison ambiguous io_uring submissions 2026-07-29 21:35:25 -07:00
pingqiu cced37308e phase168: count only attempted native WAL writes 2026-07-29 21:30:19 -07:00
pingqiu e96a422d77 phase168: rotate bounded native WAL lanes 2026-07-29 21:28:08 -07:00
pingqiu 246c8724bc phase168: add native WAL owner gate 2026-07-29 21:25:18 -07:00
pingqiu 7309e955d2 phase168: add single-owner native WAL submission 2026-07-29 21:23:57 -07:00
pingqiu f6159b9dce docs: close phase167 execution evidence 2026-07-29 20:53:14 -07:00
pingqiu c789e46c6b phase167: batch parallel WAL I/O 2026-07-29 20:49:12 -07:00
pingqiu 293b030aca phase167: coalesce stable checkpoint writes 2026-07-29 20:16:20 -07:00
pingqiu 8f8d369746 phase167: add opt-in parallel WAL candidate 2026-07-29 20:04:44 -07:00