MatrixSynapse/synapse
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
..
_scripts
api
app Change device list streams to have one row per ID (#7010) 2020-03-19 11:36:53 +00:00
appservice
config Revert "Add options to disable setting profile info for prevent changes. (#7053)" 2020-03-17 11:25:01 +00:00
crypto Share SSL contexts for non-federation requests (#7094) 2020-03-17 21:32:25 +00:00
events
federation Remove unused federation endpoint (`query_auth`) (#7026) 2020-03-17 08:04:49 -04:00
groups
handlers Add an option to the set password API to choose whether to logout other devices. (#7085) 2020-03-18 07:50:00 -04:00
http Share SSL contexts for non-federation requests (#7094) 2020-03-17 21:32:25 +00:00
logging
metrics Add prometheus metrics for the number of active pushers (#7103) 2020-03-19 10:00:24 +00:00
module_api
push Fix concurrent modification errors in pusher metrics (#7106) 2020-03-19 10:28:49 +00:00
replication Change device list streams to have one row per ID (#7010) 2020-03-19 11:36:53 +00:00
res/templates Use innerText instead of innerHTML 2020-03-13 19:09:22 +00:00
rest Add an option to the set password API to choose whether to logout other devices. (#7085) 2020-03-18 07:50:00 -04:00
server_notices
spam_checker_api
state Improve get auth chain difference algorithm. (#7095) 2020-03-18 16:46:41 +00:00
static
storage Change device list streams to have one row per ID (#7010) 2020-03-19 11:36:53 +00:00
streams
util
__init__.py 1.12.0rc1 2020-03-19 11:07:16 +00:00
event_auth.py
notifier.py Wake up transaction queue when remote server comes back online (#6706) 2020-01-17 10:27:19 +00:00
python_dependencies.py Type defintions for use in refactoring for redaction changes (#6803) 2020-01-30 11:25:59 +00:00
secrets.py
server.py Share SSL contexts for non-federation requests (#7094) 2020-03-17 21:32:25 +00:00
server.pyi
types.py
visibility.py Refactor a bit 2020-03-11 18:49:41 +00:00