0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-18 12:04:13 +01:00
synapse/synapse/replication
Erik Johnston a319cb1dd1
Change device list streams to have one row per ID (#7010)
* Add 'device_lists_outbound_pokes' as extra table.

This makes sure we check all the relevant tables to get the current max
stream ID.

Currently not doing so isn't problematic as the max stream ID in
`device_lists_outbound_pokes` is the same as in `device_lists_stream`,
however that will change.

* Change device lists stream to have one row per id.

This will make it possible to process the streams more incrementally,
avoiding having to process large chunks at once.

* Change device list replication to match new semantics.

Instead of sending down batches of user ID/host tuples, send down a row
per entity (user ID or host).

* Newsfile

* Remove handling of multiple rows per ID

* Fix worker handling

* Comments from review
2020-03-19 11:36:53 +00:00
..
http Store room_versions in EventBase objects (#6875) 2020-03-05 15:46:44 +00:00
slave Comments from review 2020-03-18 10:13:55 +00:00
tcp Change device list replication to match new semantics. 2020-02-28 11:25:34 +00:00
__init__.py Add a /replication API for extracting the updates that happened on 2016-03-01 14:49:41 +00:00