anonymousland-synapse/tests/replication
Erik Johnston ac11fcbbb8
Add EventStreamPosition type (#8388)
The idea is to remove some of the places we pass around `int`, where it can represent one of two things:

1. the position of an event in the stream; or
2. a token that partitions the stream, used as part of the stream tokens.

The valid operations are then:

1. did a position happen before or after a token;
2. get all events that happened before or after a token; and
3. get all events between two tokens.

(Note that we don't want to allow other operations as we want to change the tokens to be vector clocks rather than simple ints)
2020-09-24 13:24:17 +01:00
..
slave Add EventStreamPosition type (#8388) 2020-09-24 13:24:17 +01:00
tcp Convert the message handler to async/await. (#7884) 2020-07-22 12:29:15 -04:00
__init__.py Add a /replication API for extracting the updates that happened on 2016-03-01 14:49:41 +00:00
_base.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
test_client_reader_shard.py Fix client reader sharding tests (#7853) 2020-07-15 15:27:35 +01:00
test_federation_ack.py Add ability to shard the federation sender (#7798) 2020-07-10 18:26:36 +01:00
test_federation_sender_shard.py Allow for make_awaitable's return value to be re-used. (#8261) 2020-09-08 07:26:55 -04:00
test_pusher_shard.py Add ability to run multiple pusher instances (#7855) 2020-07-16 14:06:28 +01:00