Artifacts Associated With Ticket 18dae74ef1
Ticket change [2510bfef15] (rid 527) by dmestas on 2026-08-16 19:46:24:
- comment initialized to:
--data defaults to '.quarry' beside the FIRST --repo, so a multi-repo fleet writes its indexes, NATS state and OLTP database inside whichever repository happened to be listed first. On 2026-08-16 that put the whole derived-data directory inside the corpus that exists specifically to hold only source repositories. The default is silent and its choice is arbitrary — the first flag, not a designated repo. Options: require --data explicitly, default to a path under the working directory, or default to a per-user location. Any of the three is more predictable than the current rule. 0001 §11 says derived data is disposable; that only helps if you can tell which directory is derived.
- status initialized to: "Open"
- title initialized to:
quarry serve --data defaults into the first repository
- type initialized to: "Design"
- comment initialized to:
Ticket change [8e588383f3] (rid 865) by dmestas on 2026-08-18 18:40:09:
- Untracked field cmimetype: "text/x-markdown"
Ticket change [59da3380a6] (rid 1073) by dmestas on 2026-08-19 11:04:33:
- priority changed to: "Medium"
- severity changed to: "Important"
- type changed to: "Code_Defect"
Ticket change [a38eeb05f0] (rid 1204) by dmestas on 2026-08-19 15:55:11:
- icomment:
Fixed, and the bug was worse than filed: "the first --repo" iterated a Go MAP, so the chosen directory was a coin flip per boot — two starts of the same command could derive into two different repositories. The rule now lives in one function (`dataDir`, shared by serve and reindex) with one decision: a SINGLE repository defaults to `.quarry` beside it — deterministic and obviously derived — and a fleet without --data is REFUSED at startup with an error naming the repositories and the flag. No arbitrary default survives; the flag help says so at all three sites. Chose refusal over a per-user or cwd default deliberately: any silent default migrating existing fleets would strand their current data in the old location and boot with empty indexes — a surprise rebuild. The refusal costs one explicit flag, once, and tells the operator exactly what happened. Deployments that already pass --data (ours does) see no change.
- mimetype: "text/x-markdown"
- resolution changed to: "Fixed"
- status changed to: "Fixed"
- icomment:
Ticket change [0e75801453] (rid 12440) by zeitgeist on 2026-09-24 00:52:40:
- Untracked field number: "5"