mvalentsev and nord-
d057dee9c3
fix(repair): run post-rebuild FTS5 cleanup on legacy cmd_repair path ( #1747 )
...
A clean `mempalace repair --yes` (legacy path) finished without
_vacuum_and_rebuild_fts5: the bulk delete_collection + re-upsert cycle
leaves the FTS5 inverted index inconsistent, so the next repair aborts
at the sqlite integrity preflight. rebuild_index() got this cleanup
when #1517 was fixed; cmd_repair never did.
Extract the shared epilogue _post_rebuild_cleanup() (close chroma
handles, then VACUUM + rebuild FTS5) and call it from both full-rebuild
paths so they cannot drift apart again. Cleanup runs on the legacy
success path only; failure/restore paths are unchanged.
Closes #1747
Co-Authored-By: nord- <3777600+nord-@users.noreply.github.com >
2026-06-10 14:33:19 +05:00
..
2026-05-03 17:43:00 +05:00
2026-06-05 21:41:21 -03:00
2026-06-02 21:38:53 -03:00
2026-06-05 21:41:21 -03:00
2026-06-06 00:16:12 -03:00
2026-05-17 23:20:01 -03:00
2026-05-17 23:20:01 -03:00
2026-04-19 10:34:11 +02:00
2026-06-01 17:19:10 -05:00
2026-06-10 14:33:19 +05:00
2026-05-23 12:05:34 -04:00
2026-05-24 13:18:08 -03:00
2026-04-25 00:39:37 -03:00
2026-05-30 12:44:47 -07:00
2026-04-24 11:13:51 +02:00
2026-06-06 03:24:08 -03:00
2026-04-18 12:52:01 -03:00
2026-06-06 00:16:33 -03:00
2026-05-24 13:18:08 -03:00
2026-04-24 01:30:40 -03:00
2026-05-17 23:20:01 -03:00
2026-05-17 23:20:01 -03:00
2026-06-02 21:38:53 -03:00
2026-04-11 16:16:31 -07:00
2026-06-08 02:48:26 -03:00
2026-05-24 13:18:08 -03:00
2026-06-08 10:20:45 -03:00
2026-06-06 04:56:19 -03:00
2026-04-24 23:11:29 +00:00
2026-05-30 02:57:09 -03:00
2026-04-15 00:26:38 -07:00
2026-05-24 13:50:53 -07:00
2026-05-10 12:56:50 +02:00
2026-05-07 12:51:47 -03:00
2026-05-03 21:37:12 +05:00
2026-05-24 13:18:08 -03:00
2026-05-24 13:18:08 -03:00
2026-04-13 17:11:11 -07:00
2026-06-02 21:45:14 -07:00
2026-06-02 19:15:10 -07:00
2026-05-07 09:10:00 -03:00
2026-05-14 19:17:26 -03:00
2026-05-17 23:20:01 -03:00
2026-06-05 12:26:27 +05:00
2026-05-17 23:20:01 -03:00
2026-05-17 23:20:01 -03:00
2026-04-13 18:40:36 -03:00
2026-05-17 23:20:01 -03:00
2026-05-17 23:20:01 -03:00
2026-05-30 12:44:47 -07:00
2026-04-15 00:26:41 -07:00
2026-05-17 23:20:01 -03:00
2026-04-16 16:00:29 +05:00
2026-04-14 13:09:10 -07:00
2026-04-08 21:38:12 +03:00
2026-05-08 14:44:04 +00:00
2026-04-24 23:06:26 -03:00
2026-04-19 11:13:50 +03:00
2026-05-24 13:18:08 -03:00
2026-05-17 23:20:01 -03:00
2026-04-24 23:06:26 -03:00
2026-06-08 08:44:20 -03:00
2026-06-06 01:11:54 -03:00
2026-05-17 23:20:01 -03:00
2026-06-06 03:11:46 -03:00
2026-05-10 13:06:40 +02:00
2026-05-24 13:18:08 -03:00
2026-04-18 13:14:32 -03:00
2026-06-06 03:24:08 -03:00
2026-05-17 23:20:01 -03:00
2026-05-14 06:40:27 -03:00
2026-05-24 13:18:08 -03:00
2026-04-25 11:06:32 -07:00
2026-05-17 23:20:01 -03:00
2026-06-05 21:41:21 -03:00
2026-06-05 23:14:35 -03:00
2026-04-24 23:06:26 -03:00
2026-06-05 21:41:21 -03:00
2026-04-12 22:19:58 -03:00
2026-05-23 12:05:34 -04:00
2026-05-18 16:10:16 -03:00
2026-04-11 16:16:06 -07:00
2026-05-17 23:20:01 -03:00
2026-04-14 10:55:56 -07:00
2026-06-08 02:48:26 -03:00
2026-05-09 20:25:47 -03:00
2026-04-08 21:38:12 +03:00
2026-04-08 21:08:49 +03:00
2026-04-08 21:07:03 +03:00
2026-06-05 23:14:35 -03:00
2026-05-17 23:20:01 -03:00
2026-05-17 23:20:01 -03:00
2026-04-07 08:53:25 +01:00