synapse-product/synapse/replication/slave/storage
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
..
__init__.py Add a slaved events store class 2016-04-06 14:18:35 +01:00
_base.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
_slaved_id_tracker.py Separate get_current_token into two. (#8113) 2020-08-19 10:39:31 +01:00
account_data.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
appservice.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
client_ips.py Convert synapse.api to async/await (#8031) 2020-08-06 08:30:06 -04:00
deviceinbox.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
devices.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
directory.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
events.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
filtering.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
groups.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
keys.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
presence.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
profile.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
push_rule.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
pushers.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
receipts.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
registration.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
room.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
transactions.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00