MatrixSynapse/synapse/federation
Erik Johnston 921a3f8a59
Fix not sending events over federation when using sharded event persisters (#8536)
* Fix outbound federaion with multiple event persisters.

We incorrectly notified federation senders that the minimum persisted
stream position had advanced when we got an `RDATA` from an event
persister.

Notifying of federation senders already correctly happens in the
notifier, so we just delete the offending line.

* Change some interfaces to use RoomStreamToken.

By enforcing use of `RoomStreamTokens` we make it less likely that
people pass in random ints that they got from somewhere random.
2020-10-14 13:27:51 +01:00
..
sender Fix not sending events over federation when using sharded event persisters (#8536) 2020-10-14 13:27:51 +01:00
transport
__init__.py
federation_base.py
federation_client.py Mypy fixes for `synapse.handlers.federation` (#8422) 2020-09-29 15:57:36 +01:00
federation_server.py Add type hints to response cache. (#8507) 2020-10-09 11:35:11 -04:00
persistence.py
send_queue.py Fix not sending events over federation when using sharded event persisters (#8536) 2020-10-14 13:27:51 +01:00
units.py