0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-16 18:03:51 +01:00
synapse/tests/storage/databases
Patrick Cloke 230a831c73
Attempt to delete more duplicate rows in receipts_linearized table. (#14915)
The previous assumption was that the stream_id column was unique
(for a room ID, receipt type, user ID tuple), but this turned out to be
incorrect.

Now find the max stream ID, then map this back to a database-specific
row identifier and delete other rows which match the (room ID, receipt type,
user ID) tuple, but *not* the row ID.
2023-02-01 15:45:10 -05:00
..
main Attempt to delete more duplicate rows in receipts_linearized table. (#14915) 2023-02-01 15:45:10 -05:00
__init__.py add a cache to have_seen_event (#9953) 2021-06-01 12:04:47 +01:00