forked-synapse/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 Replace instance variations of homeserver with correct case/spacing 2019-11-12 13:08:12 +00:00
api Remove special auth and redaction rules for aliases events in experimental room ver. (#7037) 2020-03-09 08:58:25 -04:00
app Change device list streams to have one row per ID (#7010) 2020-03-19 11:36:53 +00:00
appservice Clean up newline quote marks around the codebase (#6362) 2019-11-21 12:00:14 +00:00
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 Remove special auth and redaction rules for aliases events in experimental room ver. (#7037) 2020-03-09 08:58:25 -04:00
federation Remove unused federation endpoint (query_auth) (#7026) 2020-03-17 08:04:49 -04:00
groups Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 2020-02-21 07:15:07 -05:00
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 Hopefully mypy is happy now 2020-03-10 14:40:28 +00:00
metrics Add prometheus metrics for the number of active pushers (#7103) 2020-03-19 10:00:24 +00:00
module_api Factor out complete_sso_login and expose it to the Module API 2020-03-03 10:54:44 +00:00
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 Add local_current_membership table (#6655) 2020-01-15 14:59:33 +00:00
spam_checker_api Add type hints to the spam check module (#6915) 2020-02-14 12:49:40 -05:00
state Improve get auth chain difference algorithm. (#7095) 2020-03-18 16:46:41 +00:00
static Fix SSO fallback login 2019-09-12 11:42:47 +01:00
storage Change device list streams to have one row per ID (#7010) 2020-03-19 11:36:53 +00:00
streams Bump version of mypy 2019-12-12 15:21:12 +00:00
util Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 2020-02-21 07:15:07 -05:00
__init__.py 1.12.0rc1 2020-03-19 11:07:16 +00:00
event_auth.py Remove special auth and redaction rules for aliases events in experimental room ver. (#7037) 2020-03-09 08:58:25 -04:00
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 Run Black. (#5482) 2019-06-20 19:32:02 +10:00
server.py Share SSL contexts for non-federation requests (#7094) 2020-03-17 21:32:25 +00:00
server.pyi Port PresenceHandler to async/await (#6991) 2020-02-26 15:33:26 +00:00
types.py Validate the alt_aliases property of canonical alias events (#6971) 2020-03-03 07:12:45 -05:00
visibility.py Refactor a bit 2020-03-11 18:49:41 +00:00