MatrixSynapse/synapse
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
..
_scripts
api
app
appservice
config
crypto
events
federation
handlers
http
logging
metrics
module_api
push
replication
res
rest
server_notices
spam_checker_api
state
static
storage Attempt to delete more duplicate rows in receipts_linearized table. (#14915) 2023-02-01 15:45:10 -05:00
streams
types
util
__init__.py
event_auth.py
notifier.py
py.typed
server.py
visibility.py