Artifact 3cce60f001e7741a5942f34a717e969fb5659a4d9d332e1005721bef249ee9eb:
- File
CHANGELOG.md
-
2026-11-21 12:03:36
— part of check-in
[eae917e9e9]
on branch shared-store
— Shared journal store: several pic processes on one workspace, one conversation each
Each conversation has a lease (an exclusive flock beside the journal) that its process holds while it advances it and that the kernel drops when the process and its forked children are gone. Taking a lease claims the conversation's request and settles what a dead owner left; open recovers only conversations whose lease is free. The journal lock is held shared and taken exclusive only to create or migrate the schema. SQLite runs in normal locking mode with the fair busy handler; dev builds stop on a write begun under an open read.
pic run takes only requests nobody is running. A second pic asking into a conversation in use is refused with its owner's pid. An edit that misses in a file another conversation changed says so and shows the file; a write to such a file is refused once.
New test/pic/shared.sh: two-process crash matrix, kill -9 beside a live pic, claim and admission races, stale-file results. No schema change. (user: dmestas, size: 3377) [annotate] [blame] [check-ins using]
- 2026-11-21 13:14:25 — part of check-in [f7ee118f06] on branch trunk — land shared-store (user: pi-c-lander, size: 3377) [annotate] [blame] [check-ins using]
-
2026-11-21 12:03:36
— part of check-in
[eae917e9e9]
on branch shared-store
— Shared journal store: several pic processes on one workspace, one conversation each