forked-synapse/synapse/storage/databases/main
Erik Johnston 76d21d14a0
Separate get_current_token into two. (#8113)
The function is used for two purposes: 1) for subscribers of streams to
get a token they can use to get further updates with, and 2) for
replication to track position of the writers of the stream.

For streams with a single writer the two scenarios produce the same
result, however the situation becomes complicated for streams with
multiple writers. The current `MultiWriterIdGenerator` does not
correctly handle the first case (which is not an issue as its only used
for the `caches` stream which nothing subscribes to outside of
replication).
2020-08-19 10:39:31 +01:00
..
schema Add a shadow-banned flag to users. (#8092) 2020-08-14 12:37:59 -04:00
__init__.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
account_data.py Convert account data, device inbox, and censor events databases to async/await (#8063) 2020-08-12 09:29:06 -04:00
appservice.py Convert some of the general database methods to async (#8100) 2020-08-17 12:18:01 -04:00
cache.py Separate get_current_token into two. (#8113) 2020-08-19 10:39:31 +01:00
censor_events.py Convert account data, device inbox, and censor events databases to async/await (#8063) 2020-08-12 09:29:06 -04:00
client_ips.py Convert additional database stores to async/await (#8045) 2020-08-07 12:17:17 -04:00
deviceinbox.py Convert account data, device inbox, and censor events databases to async/await (#8063) 2020-08-12 09:29:06 -04:00
devices.py Convert misc database code to async (#8087) 2020-08-14 07:24:26 -04:00
directory.py Convert directory, e2e_room_keys, end_to_end_keys, monthly_active_users database to async (#8042) 2020-08-07 13:36:29 -04:00
e2e_room_keys.py Convert directory, e2e_room_keys, end_to_end_keys, monthly_active_users database to async (#8042) 2020-08-07 13:36:29 -04:00
end_to_end_keys.py Convert directory, e2e_room_keys, end_to_end_keys, monthly_active_users database to async (#8042) 2020-08-07 13:36:29 -04:00
event_federation.py Convert events worker database to async/await. (#8071) 2020-08-18 16:20:49 -04:00
event_push_actions.py Convert misc database code to async (#8087) 2020-08-14 07:24:26 -04:00
events_bg_updates.py Convert receipts and events databases to async/await. (#8076) 2020-08-14 10:05:19 -04:00
events_worker.py Convert events worker database to async/await. (#8071) 2020-08-18 16:20:49 -04:00
events.py Convert receipts and events databases to async/await. (#8076) 2020-08-14 10:05:19 -04:00
filtering.py Convert appservice, group server, profile and more databases to async (#8066) 2020-08-12 09:28:48 -04:00
group_server.py Convert appservice, group server, profile and more databases to async (#8066) 2020-08-12 09:28:48 -04:00
keys.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
media_repository.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
metrics.py Convert tags and metrics databases to async/await (#8062) 2020-08-11 17:21:20 -04:00
monthly_active_users.py Convert directory, e2e_room_keys, end_to_end_keys, monthly_active_users database to async (#8042) 2020-08-07 13:36:29 -04:00
openid.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
presence.py Convert stream database to async/await. (#8074) 2020-08-17 07:24:46 -04:00
profile.py Convert appservice, group server, profile and more databases to async (#8066) 2020-08-12 09:28:48 -04:00
purge_events.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
push_rule.py Convert pusher databases to async/await. (#8075) 2020-08-14 10:30:16 -04:00
pusher.py Convert pusher databases to async/await. (#8075) 2020-08-14 10:30:16 -04:00
receipts.py Convert receipts and events databases to async/await. (#8076) 2020-08-14 10:05:19 -04:00
registration.py Convert some of the general database methods to async (#8100) 2020-08-17 12:18:01 -04:00
rejections.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
relations.py Convert appservice, group server, profile and more databases to async (#8066) 2020-08-12 09:28:48 -04:00
room.py Remove some unused database functions. (#8085) 2020-08-14 09:25:40 -04:00
roommember.py Convert some of the general database methods to async (#8100) 2020-08-17 12:18:01 -04:00
search.py Convert additional database stores to async/await (#8045) 2020-08-07 12:17:17 -04:00
signatures.py Convert additional database stores to async/await (#8045) 2020-08-07 12:17:17 -04:00
state_deltas.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
state.py Convert misc database code to async (#8087) 2020-08-14 07:24:26 -04:00
stats.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
stream.py Convert events worker database to async/await. (#8071) 2020-08-18 16:20:49 -04:00
tags.py Convert tags and metrics databases to async/await (#8062) 2020-08-11 17:21:20 -04:00
transactions.py Convert appservice, group server, profile and more databases to async (#8066) 2020-08-12 09:28:48 -04:00
ui_auth.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
user_directory.py Convert additional database stores to async/await (#8045) 2020-08-07 12:17:17 -04:00
user_erasure_store.py Convert misc database code to async (#8087) 2020-08-14 07:24:26 -04:00