synapse/tests/replication/slave/storage
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
..
__init__.py Add a slaved events store class 2016-04-06 14:18:35 +01:00
_base.py Performance improvements and refactor of Ratelimiter (#7595) 2020-06-05 10:47:20 +01:00
test_account_data.py Fix tests on postgresql (#3740) 2018-09-04 02:21:48 +10:00
test_events.py Add EventStreamPosition type (#8388) 2020-09-24 13:24:17 +01:00
test_receipts.py Fix tests on postgresql (#3740) 2018-09-04 02:21:48 +10:00