diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2023-02-01 15:45:10 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-01 15:45:10 -0500 |
commit | 230a831c734246aa4db7bd842947c7ea277ca126 (patch) | |
tree | 8172b242a3c708906a44a86d6b0804cb03afef08 /tests/rest/admin | |
parent | Bump docker/build-push-action from 3 to 4 (#14952) (diff) | |
download | synapse-230a831c734246aa4db7bd842947c7ea277ca126.tar.xz |
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.
Diffstat (limited to 'tests/rest/admin')
0 files changed, 0 insertions, 0 deletions