0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-19 03:33:53 +01:00
synapse/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 Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
__init__.py Remove unused ReplicationLayer 2018-03-13 11:00:04 +00:00
federation_base.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
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 Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
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 Convert calls of async database methods to async (#8166) 2020-08-27 13:38:41 -04:00