anonymousland-synapse/synapse/storage
Erik Johnston 5e8387af9e Use received_ts to find uncensored redacted events
Joining against `events` and ordering by `stream_ordering` is
inefficient as it forced scanning the entirety of the redactions table.

This isn't the case if we use `redactions.received_ts` column as we can
then use an index.
2019-10-01 13:43:48 +01:00
..
engines Fix devices_last_seen background update. 2019-09-30 11:58:36 +01:00
schema Add received_ts column to redactions. 2019-10-01 13:43:48 +01:00
util Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00
__init__.py Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
_base.py Fix a cache-invalidation bug for worker-based deployments (#5920) 2019-08-28 10:18:16 +01:00
account_data.py Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00
appservice.py Remove double return statements (#5962) 2019-09-03 11:42:45 +01:00
background_updates.py Merge branch 'develop' of github.com:matrix-org/synapse into erikj/cleanup_user_ips_2 2019-09-25 17:53:13 +01:00
client_ips.py Fix devices_last_seen background update. 2019-09-30 11:58:36 +01:00
deviceinbox.py Opentrace device lists (#5853) 2019-09-03 10:21:30 +01:00
devices.py Opentracing context cannot be none 2019-09-05 15:06:13 +01:00
directory.py Remove double return statements (#5962) 2019-09-03 11:42:45 +01:00
e2e_room_keys.py Opentrace e2e keys (#5855) 2019-08-22 11:28:12 +01:00
end_to_end_keys.py Opentrace e2e keys (#5855) 2019-08-22 11:28:12 +01:00
event_federation.py Fix dummy event insertion consent bug (#6053) 2019-09-26 11:47:53 +01:00
event_push_actions.py Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
events_bg_updates.py Add received_ts column to redactions. 2019-10-01 13:43:48 +01:00
events_worker.py Handle loops in redaction events 2019-07-30 00:00:34 +01:00
events.py Use received_ts to find uncensored redacted events 2019-10-01 13:43:48 +01:00
filtering.py Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
group_server.py Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
keys.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
media_repository.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
monthly_active_users.py Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
openid.py Run black on the rest of the storage module (#4996) 2019-04-03 10:07:29 +01:00
prepare_database.py Code style (Black) 2019-08-27 09:39:11 +01:00
presence.py Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00
profile.py Remove double return statements (#5962) 2019-09-03 11:42:45 +01:00
push_rule.py Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
pusher.py Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00
receipts.py Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00
registration.py Merge pull request #6092 from matrix-org/babolivier/background_update_deactivated_return 2019-09-24 17:11:12 +01:00
rejections.py Run black on the rest of the storage module (#4996) 2019-04-03 10:07:29 +01:00
relations.py Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
room.py Drop some unused tables. (#5893) 2019-08-21 13:16:28 +01:00
roommember.py Servers-known-about statistic (#5981) 2019-09-07 01:45:51 +10:00
search.py Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
signatures.py Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
state_deltas.py Room Statistics (#4338) 2019-05-21 11:36:50 -05:00
state.py Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
stats.py Correctly handle non-bool m.federate flag 2019-09-06 14:21:06 +01:00
stream.py Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00
tags.py Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
transactions.py Add 'failure_ts' column to 'destinations' table (#6016) 2019-09-17 11:41:54 +01:00
user_directory.py Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
user_erasure_store.py Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00