forked-synapse/synapse/replication/tcp
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
..
streams Separate get_current_token into two. (#8113) 2020-08-19 10:39:31 +01:00
__init__.py Fix some spelling mistakes / typos. (#7811) 2020-07-09 09:52:58 -04:00
client.py Fix typing replication not being handled on master (#7959) 2020-07-27 14:10:53 +01:00
commands.py Reduce unnecessary whitespace in JSON. (#7372) 2020-08-07 08:02:55 -04:00
handler.py Handle replication commands synchronously where possible (#7876) 2020-07-27 18:54:43 +01:00
protocol.py Handle replication commands synchronously where possible (#7876) 2020-07-27 18:54:43 +01:00
redis.py Handle replication commands synchronously where possible (#7876) 2020-07-27 18:54:43 +01:00
resource.py Have all instances correctly respond to REPLICATE command. (#7475) 2020-05-13 10:27:02 +01:00