forked-synapse/synapse/storage/databases/main
Erik Johnston cc5e5893fe
Handle multiple rows device inbox (#17362)
Fix bug where we don't get new to-device from remote if they resent a
message we've already persisted and have recorded in the DB twice.

`device_federation_inbox` table doesn't have a unique index, and so we
can race and store an entry in there twice. If we do so then
`simple_select_one_txn` will throw an error due to the query returning
more than one row. We should add an unique index, but it doesn't really
matter so lets just handle the case of multiple rows correctly for now.
2024-06-27 11:04:31 +01:00
..
__init__.py Add support for moving /push_rules off of main process (#17037) 2024-03-28 15:44:07 +00:00
account_data.py Move towards using MultiWriterIdGenerator everywhere (#17226) 2024-05-29 12:19:10 +00:00
appservice.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
cache.py Don't invalidate all get_relations_for_event on history purge (#17083) 2024-05-29 12:57:10 +01:00
censor_events.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
client_ips.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
deviceinbox.py Handle multiple rows device inbox (#17362) 2024-06-27 11:04:31 +01:00
devices.py Limit amount of replication we send (#17358) 2024-06-25 11:17:39 +01:00
directory.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
e2e_room_keys.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
end_to_end_keys.py Reintroduce "Reduce device lists replication traffic."" (#17361) 2024-06-25 10:34:34 +01:00
event_federation.py Reintroduce #17291. (#17338) 2024-06-24 14:40:28 +00:00
event_push_actions.py Require the 'from' parameter for /notifications be an integer (#17283) 2024-06-19 10:05:39 +01:00
events_bg_updates.py Don't invalidate all get_relations_for_event on history purge (#17083) 2024-05-29 12:57:10 +01:00
events_forward_extremities.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
events_worker.py Add event.internal_metadata.instance_name (#17300) 2024-06-13 11:32:50 -05:00
events.py Reintroduce #17291. (#17338) 2024-06-24 14:40:28 +00:00
experimental_features.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
filtering.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
keys.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
lock.py Bump black from 23.10.1 to 24.2.0 (#16936) 2024-03-13 16:46:44 +00:00
media_repository.py Bump black from 23.10.1 to 24.2.0 (#16936) 2024-03-13 16:46:44 +00:00
metrics.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
monthly_active_users.py Update license headers 2023-11-21 15:29:58 -05:00
openid.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
presence.py Move towards using MultiWriterIdGenerator everywhere (#17226) 2024-05-29 12:19:10 +00:00
profile.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
purge_events.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
push_rule.py Replaces all usages of StreamIdGenerator with MultiWriterIdGenerator (#17229) 2024-05-30 11:07:32 +00:00
pusher.py Replaces all usages of StreamIdGenerator with MultiWriterIdGenerator (#17229) 2024-05-30 11:07:32 +00:00
receipts.py Move towards using MultiWriterIdGenerator everywhere (#17226) 2024-05-29 12:19:10 +00:00
registration.py Add support for MSC3823 - Account Suspension (#17051) 2024-05-01 17:45:17 +01:00
rejections.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
relations.py Don't invalidate all get_relations_for_event on history purge (#17083) 2024-05-29 12:57:10 +01:00
room.py Filter added to Admin-API GET /rooms (#17276) 2024-06-19 11:45:48 +01:00
roommember.py Use fully-qualified PersistedEventPosition when returning RoomsForUser (#17265) 2024-06-04 12:58:03 -05:00
search.py Return the search terms as search highlights for SQLite instead of nothing (#17000) 2024-04-26 09:43:52 +01:00
session.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
signatures.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
state_deltas.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
state.py Bump black from 23.10.1 to 24.2.0 (#16936) 2024-03-13 16:46:44 +00:00
stats.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
stream.py Add stream_ordering sort to Sliding Sync /sync (#17293) 2024-06-17 11:27:14 -05:00
tags.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
task_scheduler.py Bump black from 23.10.1 to 24.2.0 (#16936) 2024-03-13 16:46:44 +00:00
transactions.py Fix filtering of rooms when supplying the destination query parameter to /_synapse/admin/v1/federation/destinations/<destination>/rooms (#17077) 2024-04-26 10:52:24 +01:00
ui_auth.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
user_directory.py Handle hyphens in user dir search porperly (#17254) 2024-06-05 10:40:34 +01:00
user_erasure_store.py Update license headers 2023-11-21 15:29:58 -05:00