0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 11:43:51 +01:00
synapse/tests/storage/databases/main
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
..
__init__.py add a cache to have_seen_event (#9953) 2021-06-01 12:04:47 +01:00
test_deviceinbox.py Require types in tests.storage. (#14646) 2022-12-09 12:36:32 -05:00
test_events_worker.py Require types in tests.storage. (#14646) 2022-12-09 12:36:32 -05:00
test_lock.py Require types in tests.storage. (#14646) 2022-12-09 12:36:32 -05:00
test_receipts.py Attempt to delete more duplicate rows in receipts_linearized table. (#14915) 2023-02-01 15:45:10 -05:00
test_room.py Skip processing stats for broken rooms. (#14873) 2023-01-23 11:36:20 +00:00