teknium1
00cb8895d4
fix(gateway): pre-isolation room import copies per room, reads pre-actor layouts, warns once
...
Review follow-up on the one-shot state.db -> shared-state.db import (#109775 ):
- A room id present in both stores is skipped as a unit. Grafting the
legacy events under the store's own room left next_seq behind MAX(seq)
and every later append_event collided on (room_id, seq).
- Columns only the target has are selected with the same defaults the
in-place column migration applies ('legacy' authority, epoch 1, legacy
actor json), and room-scoped tables use a plain INSERT under a
savepoint. INSERT OR IGNORE used to swallow the NOT NULL violations of
a pre-Sep-2 layout, drop every row and still record the marker with
rooms=0. event_bytes is backfilled for the copied rooms.
- An unreadable or refused legacy store is remembered per process, so
the warning fires once and the retry happens on the next start instead
of on every poll.
- The import lives in gateway/hosted_rooms_legacy_import.py; the facade
keeps only the _connect seam.
2026-09-17 00:15:35 -07:00
..
2026-09-16 17:48:17 -07:00
2026-09-15 04:12:13 -07:00
2026-09-07 06:10:54 -07:00
2026-09-15 05:40:15 -07:00
2026-09-16 14:20:17 -07:00
2026-09-15 03:44:13 -07:00
2026-09-10 10:27:07 -07:00
2026-09-03 17:13:22 -07:00
2026-09-03 17:13:22 -07:00
2026-09-02 19:21:46 -07:00
2026-09-15 03:50:10 -07:00
2026-09-02 19:21:46 -07:00
2026-09-13 20:53:54 -07:00
2026-09-15 04:37:41 -07:00
2026-09-16 08:57:18 -07:00
2026-09-16 14:21:14 -07:00
2026-09-02 19:21:46 -07:00
2026-09-02 20:13:08 -07:00
2026-09-13 05:08:29 -07:00
2026-09-07 06:00:05 -07:00
2026-09-04 00:15:16 -07:00
2026-09-14 07:46:51 -07:00
2026-09-03 09:44:26 -07:00
2026-09-11 15:44:00 -07:00
2026-09-15 19:04:59 -07:00
2026-09-03 17:13:22 -07:00
2026-09-03 17:13:22 -07:00
2026-09-03 00:09:14 -07:00
2026-09-13 05:07:11 -07:00
2026-09-13 05:08:29 -07:00
2026-09-04 00:15:16 -07:00
2026-09-13 05:08:29 -07:00
2026-09-17 00:15:35 -07:00
2026-09-17 00:15:35 -07:00
2026-09-03 09:44:26 -07:00
2026-09-13 14:43:19 -07:00
2026-09-15 04:12:13 -07:00
2026-09-15 18:34:11 -07:00
2026-09-16 00:32:15 -07:00
2026-09-11 15:44:00 -07:00
2026-09-11 15:44:00 -07:00
2026-09-02 19:21:46 -07:00
2026-09-02 19:21:46 -07:00
2026-09-04 00:15:16 -07:00
2026-09-02 19:21:46 -07:00
2026-09-16 14:34:22 -07:00
2026-09-15 03:48:53 -07:00
2026-09-15 10:59:22 -07:00
2026-09-11 15:28:00 -07:00
2026-09-03 09:44:26 -07:00
2026-09-16 17:23:01 -07:00
2026-09-03 17:13:22 -07:00
2026-09-16 17:58:25 +00:00
2026-09-13 05:07:11 -07:00
2026-09-16 14:20:17 -07:00
2026-09-16 17:48:17 -07:00
2026-09-11 15:28:00 -07:00
2026-09-02 16:11:50 -07:00
2026-09-13 05:32:38 -07:00
2026-09-16 17:23:01 -07:00
2026-09-07 14:16:57 -07:00
2026-09-07 14:16:57 -07:00
2026-09-15 04:12:13 -07:00
2026-09-16 17:48:17 -07:00
2026-09-16 21:15:30 +05:30
2026-09-16 17:01:11 -07:00
2026-09-16 17:48:17 -07:00
2026-09-16 17:18:44 -07:00
2026-09-13 15:39:11 -07:00
2026-09-13 20:52:02 -07:00
2026-09-15 04:12:13 -07:00
2026-09-16 17:47:50 -07:00
2026-09-16 17:48:17 -07:00
2026-09-11 15:28:00 -07:00
2026-09-07 06:10:54 -07:00
2026-09-16 17:48:17 -07:00
2026-09-02 21:14:22 -07:00
2026-09-04 15:41:27 -03:00
2026-09-09 10:55:32 -07:00
2026-09-02 19:21:38 -07:00
2026-09-13 05:21:02 -07:00
2026-09-13 05:07:11 -07:00
2026-09-13 15:41:01 -07:00
2026-09-15 04:12:13 -07:00
2026-09-12 12:03:39 +05:30
2026-09-13 05:20:26 -07:00
2026-09-16 14:21:14 -07:00
2026-09-16 00:32:15 -07:00
2026-09-16 16:52:25 -07:00
2026-09-03 10:00:07 -07:00
2026-09-03 17:13:22 -07:00
2026-09-10 18:17:22 -07:00
2026-09-11 03:45:33 +05:30
2026-09-13 20:54:50 -07:00
2026-09-16 17:23:44 -07:00
2026-09-15 18:58:02 -07:00
2026-09-16 17:22:17 -07:00
2026-09-03 17:13:22 -07:00
2026-09-02 21:14:22 -07:00
2026-09-16 14:34:22 -07:00
2026-09-11 15:44:00 -07:00
2026-09-15 12:44:57 +05:30
2026-09-02 19:19:38 -07:00
2026-09-13 05:20:26 -07:00
2026-09-08 17:51:35 +10:00
2026-09-15 04:31:15 -07:00
2026-09-04 00:15:16 -07:00
2026-09-02 20:24:52 -07:00
2026-09-09 10:59:52 -07:00
2026-09-03 17:13:22 -07:00
2026-09-16 17:23:01 -07:00
2026-09-12 12:03:39 +05:30
2026-09-09 10:55:32 -07:00
2026-09-03 08:16:44 -07:00