anonymousland-synapse/synapse
Erik Johnston 84d099ae11
Fix typing replication not being handled on master (#7959)
Handling of incoming typing stream updates from replication was not
hooked up on master, effecting set ups where typing was handled on a
different worker.

This is really only a problem if the master process is also handling
sync requests, which is unlikely for those that are at the stage of
moving typing off.

The other observable effect is that if a worker restarts or a
replication connect drops then the typing worker will issue a
`POSITION typing`, triggering master process to try and stream *all*
typing updates from position 0.

Fixes #7907
2020-07-27 14:10:53 +01:00
..
_scripts Replace all remaining six usage with native Python 3 equivalents (#7704) 2020-06-16 08:51:47 -04:00
api Convert state resolution to async/await (#7942) 2020-07-24 10:59:51 -04:00
app Fix typing replication not being handled on master (#7959) 2020-07-27 14:10:53 +01:00
appservice Include room states on invite events sent to ASes (#6455) 2020-07-10 18:44:56 +01:00
config Fix a typo in the sample config. (#7890) 2020-07-20 13:42:52 -04:00
crypto Replace all remaining six usage with native Python 3 equivalents (#7704) 2020-06-16 08:51:47 -04:00
events Convert state resolution to async/await (#7942) 2020-07-24 10:59:51 -04:00
federation Convert state resolution to async/await (#7942) 2020-07-24 10:59:51 -04:00
groups Add HomeServer.signing_key property (#7805) 2020-07-08 17:51:56 +01:00
handlers Remove hacky error handling for inlineDeferreds. (#7950) 2020-07-27 08:35:56 -04:00
http Return an empty body for OPTIONS requests. (#7886) 2020-07-24 07:08:07 -04:00
logging Clean up PreserveLoggingContext (#7877) 2020-07-22 00:40:27 +01:00
metrics Improve stacktraces from exceptions in background processes (#7808) 2020-07-09 13:01:33 +01:00
module_api Wrap register_device coroutine in an ensureDeferred (#7684) 2020-06-16 10:13:59 +01:00
push Convert state resolution to async/await (#7942) 2020-07-24 10:59:51 -04:00
replication Fix typing replication not being handled on master (#7959) 2020-07-27 14:10:53 +01:00
res/templates Element CSS and logo in email templates (#7919) 2020-07-21 11:58:01 +01:00
rest Support oEmbed for media previews. (#7920) 2020-07-27 07:50:44 -04:00
server_notices Replace all remaining six usage with native Python 3 equivalents (#7704) 2020-06-16 08:51:47 -04:00
spam_checker_api Add type hints to the spam check module (#6915) 2020-02-14 12:49:40 -05:00
state Convert state resolution to async/await (#7942) 2020-07-24 10:59:51 -04:00
static Clean-up the fallback login code. (#7657) 2020-06-10 09:50:39 -04:00
storage Convert state resolution to async/await (#7942) 2020-07-24 10:59:51 -04:00
streams Fix some spelling mistakes / typos. (#7811) 2020-07-09 09:52:58 -04:00
util Fix deprecation warning: import ABC from collections.abc (#7892) 2020-07-20 13:33:04 -04:00
__init__.py 1.17.0 2020-07-13 10:20:36 +01:00
event_auth.py Fix recursion error when fetching auth chain over federation (#7817) 2020-07-10 18:15:35 +01:00
notifier.py Fix some spelling mistakes / typos. (#7811) 2020-07-09 09:52:58 -04:00
python_dependencies.py Allow to use higher versions of prometheus_client (#7780) 2020-07-06 10:21:41 +01:00
secrets.py isort 5 compatibility (#7786) 2020-07-05 16:32:02 +01:00
server.py Allow moving typing off master (#7869) 2020-07-16 15:12:54 +01:00
server.pyi Fix typing replication not being handled on master (#7959) 2020-07-27 14:10:53 +01:00
types.py isort 5 compatibility (#7786) 2020-07-05 16:32:02 +01:00
visibility.py Fix some spelling mistakes / typos. (#7811) 2020-07-09 09:52:58 -04:00