teknium1
96da5d97fc
feat(sessions): hermes sessions set-journal-mode delete|wal converts an existing WAL store offline ( #100896 )
...
`database.journal_mode: delete` can never self-apply to a store that is already WAL:
apply_wal_with_fallback deliberately never live-downgrades (#68545 — other gateway/cron/worker
connections may hold uncheckpointed WAL commits), so operators applying the containment for the
multi-writer corruption class saw one ERROR per process forever and the only escape hatch was an
undocumented hand-run PRAGMA on the file.
The new pre-DB `sessions set-journal-mode` verb is the sanctioned offline path: it refuses while ANY
foreign process holds the file or a sidecar (the same foreign_state_db_holders scan doctor/repair
admission uses, naming each PID), flips through _set_journal_mode_no_wait (busy_timeout=0, so an
opener appearing mid-way makes SQLite refuse instead of racing it), verifies header bytes 18/19,
and reminds the operator when config.yaml disagrees. `--db PATH` covers kanban.db / cron stores
that log the same ERROR. The never-live-downgrade invariant is untouched; the ERROR, doctor hints
and docs now name the command instead of the raw PRAGMA.
2026-09-20 20:13:25 -07:00
..
2026-09-11 11:14:56 +05:30
2026-09-11 11:14:56 +05:30
2026-09-13 09:18:02 -07:00
2026-09-19 10:08:14 -07:00
2026-09-13 09:18:02 -07:00
2026-09-03 14:21:52 -07:00
2026-09-15 05:41:36 -07:00
2026-09-03 04:23:35 +05:30
2026-09-20 10:32:40 -07:00
2026-09-20 10:09:12 -07:00
2026-09-19 00:59:32 +05:30
2026-09-03 16:35:01 -07:00
2026-09-13 09:18:02 -07:00
2026-09-18 10:39:13 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-11 06:24:54 -07:00
2026-09-20 20:13:25 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-20 00:14:10 -07:00
2026-09-09 13:17:19 +05:30
2026-09-20 00:16:13 -07:00
2026-09-13 09:18:02 -07:00
2026-09-02 12:11:15 -05:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-18 10:38:41 -07:00
2026-09-13 09:18:02 -07:00
2026-09-18 10:38:41 -07:00
2026-09-18 10:38:41 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-15 12:33:45 -05:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-20 18:43:11 -07:00
2026-09-13 09:18:02 -07:00
2026-09-16 21:15:30 +05:30
2026-09-15 04:12:13 -07:00
2026-09-20 12:50:17 -07:00
2026-09-03 13:46:50 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-03 13:46:50 -07:00
2026-08-15 02:20:13 -07:00
2026-09-15 04:12:13 -07:00
2026-08-15 02:20:13 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-08-09 14:06:06 -07:00
2026-09-13 09:18:02 -07:00
2026-09-17 21:17:15 +05:30
2026-09-18 09:53:41 -07:00
2026-09-11 06:23:23 -07:00
2026-09-13 09:18:02 -07:00
2026-08-08 17:37:26 -07:00
2026-09-14 09:19:20 -07:00
2026-09-13 14:45:41 -07:00
2026-09-18 09:53:41 -07:00
2026-08-10 11:01:15 +05:30
2026-09-20 16:47:29 +05:30
2026-09-11 11:14:56 +05:30
2026-09-20 12:12:26 -07:00
2026-09-13 09:18:02 -07:00
2026-09-15 04:01:17 -07:00
2026-09-13 09:18:02 -07:00
2026-09-20 12:15:51 -07:00
2026-09-20 10:40:48 -07:00
2026-09-13 09:18:02 -07:00
2026-09-20 11:40:16 -07:00
2026-09-13 09:18:02 -07:00
2026-09-18 10:35:03 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-15 03:51:07 -07:00
2026-09-13 09:18:02 -07:00
2026-08-15 00:31:37 -07:00
2026-09-03 15:07:39 -07:00
2026-08-05 13:50:26 +05:30
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-11 06:24:11 -07:00
2026-09-19 02:53:32 +05:30
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-15 04:19:19 -07:00
2026-09-11 06:37:27 -07:00
2026-09-06 22:56:51 +05:30
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 21:13:23 -07:00
2026-09-14 08:50:29 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-14 08:50:29 -07:00
2026-09-14 08:50:29 -07:00
2026-09-14 10:18:17 -07:00
2026-09-13 09:18:02 -07:00
2026-09-19 02:53:32 +05:30
2026-09-13 09:18:02 -07:00
2026-09-16 21:15:30 +05:30
2026-09-18 10:30:20 -07:00
2026-09-13 09:18:02 -07:00
2026-09-19 03:14:20 +05:30
2026-09-11 06:23:23 -07:00
2026-09-13 09:18:02 -07:00
2026-09-14 06:54:07 -07:00
2026-09-14 05:28:22 -07:00
2026-09-13 09:18:02 -07:00
2026-09-20 10:01:42 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00