synapse-product/synapse/app
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
..
__init__.py Remove usage of deprecated logger.warn method from codebase (#6271) 2019-10-31 10:23:24 +00:00
_base.py Move pusherpool startup into _base.setup (#7104) 2020-03-19 09:48:45 +00:00
admin_cmd.py Port synapse.replication.tcp to async/await (#6666) 2020-01-16 09:16:12 +00:00
appservice.py Merge worker apps into one. (#6964) 2020-02-25 16:56:55 +00:00
client_reader.py Merge worker apps into one. (#6964) 2020-02-25 16:56:55 +00:00
event_creator.py Merge worker apps into one. (#6964) 2020-02-25 16:56:55 +00:00
federation_reader.py Merge worker apps into one. (#6964) 2020-02-25 16:56:55 +00:00
federation_sender.py Merge worker apps into one. (#6964) 2020-02-25 16:56:55 +00:00
frontend_proxy.py Merge worker apps into one. (#6964) 2020-02-25 16:56:55 +00:00
generic_worker.py Comments from review 2020-03-18 10:13:55 +00:00
homeserver.py Move pusherpool startup into _base.setup (#7104) 2020-03-19 09:48:45 +00:00
media_repository.py Merge worker apps into one. (#6964) 2020-02-25 16:56:55 +00:00
pusher.py Merge worker apps into one. (#6964) 2020-02-25 16:56:55 +00:00
synchrotron.py Merge worker apps into one. (#6964) 2020-02-25 16:56:55 +00:00
user_dir.py Merge worker apps into one. (#6964) 2020-02-25 16:56:55 +00:00