synapse/tests/replication
Erik Johnston fef08cbee8
Fix sending out of order POSITION over replication (#16639)
If a worker reconnects to Redis we send out the current positions of all our streams. However, if we're also trying to send out a backlog of RDATA at the same time then we can end up sending a `POSITION` with the current token *before* we've sent all the RDATA before the current token.

This doesn't cause actual bugs as the receiving servers see the POSITION, fetch the relevant rows from the DB, and then ignore the old RDATA as they come in. However, this is inefficient so it'd be better if we didn't  send out-of-order positions
2023-11-16 13:05:09 +00:00
..
http Add missing type hints to tests.replication. (#14987) 2023-02-06 09:55:00 -05:00
storage Stop patching EventBase.__eq__ in tests. (#16349) 2023-09-18 14:48:02 +00:00
tcp Fix sending out of order POSITION over replication (#16639) 2023-11-16 13:05:09 +00:00
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
_base.py Re-introduce the outbound federation proxy (#15913) 2023-07-18 09:49:21 +01:00
test_auth.py Remove worker_replication_* settings (#15491) 2023-05-11 11:30:56 +01:00
test_client_reader_shard.py Remove worker_replication_* settings (#15491) 2023-05-11 11:30:56 +01:00
test_federation_ack.py Fix a bug introduced in Synapse v1.84.0 where workers do not start up when no instance_map was provided. (#15672) 2023-05-26 14:28:55 +00:00
test_federation_sender_shard.py Return an immutable value from get_latest_event_ids_in_room. (#16326) 2023-09-18 09:29:05 -04:00
test_module_cache_invalidation.py Add missing type hints to tests.replication. (#14987) 2023-02-06 09:55:00 -05:00
test_multi_media_repo.py Fix tests on Twisted trunk. (#16528) 2023-10-25 07:39:45 -04:00
test_pusher_shard.py Rename blacklist/whitelist internally. (#15620) 2023-05-19 12:25:25 +00:00
test_sharded_event_persister.py Remove worker_replication_* settings (#15491) 2023-05-11 11:30:56 +01:00
test_sharded_receipts.py Allow multiple workers to write to receipts stream. (#16432) 2023-10-25 16:16:19 +01:00