Commit Graph
70 Commits
Author SHA1 Message Date
pingqiuandClaude Opus 5.5 1fe7c24ef4 docs: the create-time headroom refusal in the operator guide; release note
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 02:34:49 -08:00
pingqiuandClaude Opus 5.5 4c36f1f861 durable: lay out a created lock directory as tmpfiles.d does
A missing /run/sw-block is created 0755 and the locks directory 0700, with
the modes set explicitly (the umask cannot narrow them); existing
directories are left alone. The cure line also names the parent.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 12:10:34 -08:00
pingqiuandClaude Opus 5.5 83f8507d3b durable, blockvolume: review fold for the host lock and the rolled-back root
- The lock directory is created (0700) when missing; only a directory or
  lock file that cannot be created or opened refuses, with the cure
  (install the tmpfiles.d entry, or chown the directory and its lock files
  to the unit's user).
- The lock file is opened read-only (an existing file first, created 0644
  only when missing), so a lock file another user created stays lockable;
  it is never unlinked, and the next owner locks the same file.
- A stale-root startup end carries its cure into the final exit line:
  exiting status=78 reason=superseded cure="...".
- Tests: a cut's remote_lsn is locally durable at its HEAD CAS, and the
  root's crash image at the CAS reattaches and serves; the rolled-back copy
  makes no claim or PUT, admits no I/O, keeps its data and durable LSN; an
  exact copy at HEAD attaches; a read-only lock file is taken.
- Invariants: INV-WS-ONE-PROCESS-PER-HOST-001 and its M4 edge; the
  rollback row names its test file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 10:40:12 -08:00
pingqiuandClaude Opus 5.5 bd8afb0aea blockvolume: one live process per volume per host; refuse a rolled-back root
V1-SPEC r2.45.
(1) The provider takes an exclusive, non-blocking lock on
/run/sw-block/locks/<volume id>.lock before the volume's store opens and
releases it after the store closes (HostVolumeLock, set by blockvolume). A
missing directory refuses the provider with the cure; the tmpfiles.d
entry ships in deploy/systemd and both units may write it under
ProtectSystem=strict. --volume-lock-dir-test-only (hidden, refused under
systemd, warned at start) is for plain subprocess tests and harnesses.
(2) An existing root whose HEAD names this holder attaches only if its
local durable LSN reaches HEAD's remote_lsn; otherwise the existing
stale-root refusal, no retry (78 superseded), with the cure.
(3) docs/releases/one-process-per-volume.md: the lifecycle do-not list.
No HEAD change, no format bump, no new persisted file, no new exit reason.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 10:40:12 -08:00
pingqiu 90e25b939c fix: validate revocation ACK with the shared holder predicate 2026-11-22 01:46:21 -08:00
pingqiu e76532be53 docs: disclose both directions of pre-release identity skew 2026-11-22 01:02:02 -08:00
pingqiu d2525156cc test: cover foreign-holder fencing and carried lease identity 2026-11-22 00:57:04 -08:00
pingqiuandClaude Opus 5.5 e585d80f8e docs(releases): replace lab addresses with RFC 5737 documentation addresses
nvme-rdma-capability-boundary.md and nvme-tcp-supported-lab.md recorded the
lab's private addresses. Replace them with documentation addresses
(192.0.2.12 internal, 198.51.100.11/12 frontend, matching the chart's
example nodes) and say so at the top of each record. Host names stay
anonymized as 'lab host A/B'; meaning is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 16:37:26 -08:00
pingqiuandClaude Opus 5.5 63dcb49a54 docs: delete outdated docs, simplify the rest, and split the design reference with diagrams
- Delete the stale roadmap and eight wiki planning pages (git history keeps
  them); move the only unique content (Phase 166-170 write-path experiment
  results) into docs/releases/nvme-tcp-supported-lab.md.
- Simplify the remaining user docs; duplicated non-claim lists link to
  docs/kubernetes-status.md; lab host names and local paths are removed.
- Split docs/design/block-design.md into core, agent-workspace-design.md and
  kubernetes-block-design.md; add four SVG diagrams of the on-disk and remote
  structures and new mermaid diagrams.
- mkdocs.yml nav and README links follow the new layout; the two gate
  scripts drop the one check each that read a deleted file.

Docs only; no product code changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 16:16:02 -08:00
Ping Qiu 49b726d6dd durable: remove successful write logging without weakening I/O drain (#105) 2026-11-15 10:18:02 -08:00
pingqiu 0dce26d2b0 phase165: add kubernetes nvme rdma publish attach 2026-07-18 03:03:54 -07:00
pingqiu 18245463c5 phase164: harden standalone nvme rdma lifecycle 2026-07-18 01:53:29 -07:00
pingqiu b0bfb5b3f3 phase163: harden nvme rdma bridge boundaries 2026-07-18 01:14:15 -07:00
pingqiu ab0930c399 phase163: add standalone nvme rdma live path 2026-07-18 01:07:05 -07:00
pingqiu 070f3c9597 phase162: add nvme rdma listener start skeleton 2026-07-17 01:08:31 -07:00
pingqiu a29003ac77 phase161: surface nvme rdma preflight refusal facts 2026-07-17 01:03:52 -07:00
pingqiu 059cf5e82b phase160: isolate nvme tcp session transport 2026-07-17 00:58:52 -07:00
pingqiu 2827c15c6f phase159: define nvme rdma listener design gate 2026-07-17 00:54:35 -07:00
pingqiu a177defab4 phase158: add nvme rdma capability probe 2026-07-17 00:48:58 -07:00
pingqiu c0b8bf51e5 phase157: document nvme rdma capability boundary 2026-07-17 00:39:21 -07:00
pingqiu 76f06a80cf phase156: keep multiblock wal opt-in source gated 2026-07-17 00:35:26 -07:00
pingqiu cf4da8e5e0 phase155: confirm mounted durable status head lsn 2026-07-12 10:27:51 -07:00
pingqiu 11c54e5c11 phase154: fix durable status head lsn after recovery 2026-07-07 17:17:53 -07:00
pingqiu 298cbdc8c9 phase153: document multiblock wal release boundary 2026-07-06 23:14:27 -07:00
pingqiu 724cc0e1f1 phase150: wire multiblock wal runtime opt-in 2026-07-06 16:09:34 -07:00
pingqiu 96ab45bea5 phase149: profile multiblock wal record count 2026-07-06 16:04:13 -07:00
pingqiu 53a5cab66e phase148: prototype multiblock wal records locally 2026-07-06 16:01:13 -07:00
pingqiu 7b5250ed66 phase147: document wal multiblock record design gate 2026-07-06 15:54:09 -07:00
pingqiu fa77e110a5 phase146: profile wal materialization effectiveness 2026-07-06 15:49:11 -07:00
pingqiu b4192576eb phase145: reduce wal batch record allocation 2026-07-06 15:34:05 -07:00
pingqiu aa5159328b phase144: classify wal encode append pair 2026-07-06 15:24:38 -07:00
pingqiu 5af378f3ab phase143: profile wal append under large h2c 2026-07-06 15:16:29 -07:00
pingqiu 837209cece phase142: retriage nvme tcp large h2c 2026-07-06 15:03:30 -07:00
pingqiu 9566f0cc41 phase141: gate nvme max h2c opt-in 2026-07-06 14:47:03 -07:00
pingqiu 413054f517 phase140: classify frontend request size 2026-07-06 14:14:12 -07:00
pingqiu f18e0b6536 phase139: classify wal append batch shape 2026-07-06 13:55:11 -07:00
pingqiu 0c974eb30b phase138: profile wal writeat shape 2026-07-05 15:40:29 -07:00
pingqiu d63922fb95 phase137: reduce wal record encode copy 2026-07-05 09:11:15 -07:00
pingqiu 07b14b7800 phase136: profile wal write internals 2026-07-04 16:07:00 -07:00
pingqiu 986cca6d94 phase135: retriage post-batch nvme writes 2026-07-04 15:45:56 -07:00
pingqiu e7affbeed4 phase134: batch durable backend writes 2026-07-04 15:37:09 -07:00
pingqiu 19152945ce phase133: prune stale nvme paths 2026-07-04 15:09:52 -07:00
pingqiu cfaf29cc11 phase132: prove nvme desired path reconnect 2026-07-04 14:48:23 -07:00
pingqiu e622bea61d phase131: prove nvme live reconnect owner 2026-07-04 12:47:34 -07:00
pingqiu ad80851a5d phase130: add nvme reconnect owner gate 2026-07-04 12:04:54 -07:00
pingqiu c23aacbece phase129: reconnect mounted nvme restage paths 2026-07-03 17:38:46 -07:00
pingqiu 7590788ace phase128: add nvme ana host gate 2026-07-03 09:01:51 -07:00
pingqiu 50a90f9934 phase127: add nvme ana change notice 2026-07-03 08:11:30 -07:00
pingqiu 920b151310 phase126: instrument nvme tcp backend writes 2026-07-03 02:01:46 -07:00
pingqiu d9a5e8152c phase125: profile nvme tcp write path 2026-07-03 01:00:39 -07:00