MatrixSynapse/synapse/storage/data_stores/main
Erik Johnston 4a17a647a9
Improve get auth chain difference algorithm. (#7095)
It was originally implemented by pulling the full auth chain of all
state sets out of the database and doing set comparison. However, that
can take a lot work if the state and auth chains are large.

Instead, lets try and fetch the auth chains at the same time and
calculate the difference on the fly, allowing us to bail early if all
the auth chains converge. Assuming that the auth chains do converge more
often than not, this should improve performance. Hopefully.
2020-03-18 16:46:41 +00:00
..
schema Populate the room version from state events (#7070) 2020-03-16 22:31:47 +00:00
__init__.py Sanity-check database before running upgrades (#6982) 2020-02-25 17:46:00 +00:00
account_data.py
appservice.py Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 2020-02-21 07:15:07 -05:00
cache.py
client_ips.py Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 2020-02-21 07:15:07 -05:00
deviceinbox.py
devices.py Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 2020-02-21 07:15:07 -05:00
directory.py
e2e_room_keys.py
end_to_end_keys.py
event_federation.py Improve get auth chain difference algorithm. (#7095) 2020-03-18 16:46:41 +00:00
event_push_actions.py Move `get_time_of_last_push_action_before` to the `EventPushActionsWorkerStore` 2020-03-09 13:58:38 +00:00
events.py Remove special auth and redaction rules for aliases events in experimental room ver. (#7037) 2020-03-09 08:58:25 -04:00
events_bg_updates.py Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 2020-02-21 07:15:07 -05:00
events_worker.py Read the room version from database when fetching events (#6874) 2020-03-04 13:11:04 +00:00
filtering.py
group_server.py
keys.py
media_repository.py
monthly_active_users.py Break down monthly active users by appservice_id (#7030) 2020-03-06 18:14:19 +00:00
openid.py
presence.py
profile.py
push_rule.py Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 2020-02-21 07:15:07 -05:00
pusher.py Merge worker apps into one. (#6964) 2020-02-25 16:56:55 +00:00
receipts.py Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 2020-02-21 07:15:07 -05:00
registration.py Fixed set a user as an admin with the new API (#6928) 2020-02-28 09:58:05 +00:00
rejections.py
relations.py
room.py Store room version on invite (#6983) 2020-02-26 16:58:33 +00:00
roommember.py Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 2020-02-21 07:15:07 -05:00
search.py
signatures.py
state.py Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 2020-02-21 07:15:07 -05:00
state_deltas.py Always return a deferred from `get_current_state_deltas`. (#7019) 2020-03-02 16:52:15 +00:00
stats.py
stream.py Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 2020-02-21 07:15:07 -05:00
tags.py
transactions.py
user_directory.py
user_erasure_store.py Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 2020-02-21 07:15:07 -05:00