Teknium
9a2fa5e406
fix(sessions): optimize-storage counts backfill rows from an index; no VACUUM over a live writer
...
From an independent re-review of the mid-run pacing change:
- The pre-backfill message count walked the messages table by rowid
range: 73 s cold on a 1.97M-message store with nothing printed, the
symptom this PR fixes. +id lets the planner count from a covering
index (1.9 s cold).
- A writer that appeared mid-run was still locked out by the
minutes-long VACUUM. VACUUM is skipped while another process holds
the store (vacuumed=False, vacuum_skipped=in_use) with a message to
re-run when it is closed.
- The "Not enough free disk" refusal exits 1, like the other failures.
2026-10-25 18:25:29 -07:00
..
2026-10-09 17:34:38 +02:00
2026-10-20 14:13:35 +05:30
2026-10-20 15:15:42 +05:30
2026-10-15 16:33:44 -04:00
2026-10-17 13:27:36 -04:00
2026-10-18 06:50:07 -07:00
2026-10-18 03:20:00 -07:00
2026-10-09 02:10:49 -07:00
2026-10-21 04:14:08 -07:00
2026-10-25 18:25:29 -07:00
2026-10-09 17:31:52 +02:00
2026-10-08 01:31:24 +05:30
2026-10-16 19:21:51 -07:00
2026-10-21 04:01:20 -07:00
2026-10-08 21:29:48 +02:00
2026-10-25 18:25:29 -07:00
2026-10-16 19:22:03 -07:00
2026-10-17 13:16:34 -04:00
2026-10-10 15:20:13 +02:00
2026-10-10 21:18:25 -07:00
2026-10-08 19:09:27 -07:00
2026-10-10 15:20:13 +02:00
2026-10-10 15:20:13 +02:00
2026-10-20 03:08:06 -07:00
2026-10-09 17:34:38 +02:00
2026-10-08 21:29:48 +02:00
2026-10-20 14:13:35 +05:30
2026-10-10 22:49:18 -07:00
2026-10-09 02:10:47 -07:00
2026-10-08 21:35:58 +02:00
2026-10-20 13:59:03 -07:00
2026-10-18 01:47:07 -04:00
2026-10-08 19:54:07 +02:00
2026-10-08 09:10:49 -07:00
2026-10-08 19:09:27 -07:00
2026-10-11 07:34:29 -07:00
2026-10-18 09:39:59 -07:00
2026-10-25 19:25:17 -04:00
2026-10-08 19:08:58 -07:00
2026-10-08 01:39:21 -07:00
2026-10-08 19:08:58 -07:00
2026-10-10 05:52:02 -07:00
2026-10-08 19:08:58 -07:00
2026-10-08 19:08:58 -07:00
2026-10-08 09:10:49 -07:00
2026-10-08 17:22:54 +02:00
2026-10-10 15:20:14 +02:00
2026-10-18 02:11:06 -07:00
2026-10-10 15:20:13 +02:00
2026-10-08 19:22:03 +02:00
2026-10-09 17:34:38 +02:00
2026-10-10 15:20:13 +02:00
2026-10-09 17:34:38 +02:00
2026-10-21 04:14:08 -07:00
2026-10-08 09:10:50 -07:00
2026-10-08 21:29:48 +02:00
2026-10-17 13:16:34 -04:00
2026-10-08 09:10:26 -07:00
2026-10-08 12:07:00 -07:00
2026-10-09 17:31:52 +02:00
2026-10-17 06:27:13 -07:00