anonymousland-synapse/synapse
Erik Johnston 6b9e1014cf
Fix race in federation sender that delayed device updates. (#6799)
We were sending device updates down both the federation stream and
device streams. This mean there was a race if the federation sender
worker processed the federation stream first, as when the sender checked
if there were new device updates the slaved ID generator hadn't been
updated with the new stream IDs and so returned nothing.

This situation is correctly handled by events/receipts/etc by not
sending updates down the federation stream and instead having the
federation sender worker listen on the other streams and poke the
transaction queues as appropriate.
2020-01-29 11:23:01 +00:00
..
_scripts Replace instance variations of homeserver with correct case/spacing 2019-11-12 13:08:12 +00:00
api Implement updated auth rules from MSC2260 2020-01-28 14:20:10 +00:00
app Fix race in federation sender that delayed device updates. (#6799) 2020-01-29 11:23:01 +00:00
appservice Clean up newline quote marks around the codebase (#6362) 2019-11-21 12:00:14 +00:00
config Fix empty account_validity config block 2020-01-20 14:05:29 +00:00
crypto Fix some test failures when frozen_dicts are enabled (#6642) 2020-01-06 15:22:46 +00:00
events Make 'event.redacts' never raise. (#6771) 2020-01-23 15:19:03 +00:00
federation Fix race in federation sender that delayed device updates. (#6799) 2020-01-29 11:23:01 +00:00
groups Automatically delete empty groups/communities (#6453) 2019-12-16 12:12:40 +00:00
handlers Fix bug when querying remote user keys that require a resync. (#6796) 2020-01-29 09:56:41 +00:00
http Fix outbound federation request metrics (#6795) 2020-01-28 18:59:48 +00:00
logging comment for run_in_background 2020-01-12 21:53:47 +00:00
metrics Fix up some typechecking (#6150) 2019-10-02 05:29:01 -07:00
module_api Cleanups and additions to the module API 2020-01-12 21:31:44 +00:00
push Add local_current_membership table (#6655) 2020-01-15 14:59:33 +00:00
replication Detect unknown remote devices and mark cache as stale (#6776) 2020-01-28 14:43:21 +00:00
res/templates Allow HS to send emails when adding an email to the HS (#6042) 2019-09-20 15:21:30 +01:00
rest Add rooms.room_version column (#6729) 2020-01-27 14:30:57 +00:00
server_notices Add local_current_membership table (#6655) 2020-01-15 14:59:33 +00:00
spam_checker_api Expose some homeserver functionality to spam checkers (#6259) 2019-10-31 09:16:14 -06:00
state Pass room version object into event_auth.check and check_redaction (#6788) 2020-01-28 14:18:29 +00:00
static Fix SSO fallback login 2019-09-12 11:42:47 +01:00
storage Delete current state when server leaves a room (#6792) 2020-01-29 11:01:32 +00:00
streams Bump version of mypy 2019-12-12 15:21:12 +00:00
util Validate client_secret parameter (#6767) 2020-01-24 14:28:40 +00:00
__init__.py 1.9.1 2020-01-28 13:09:36 +00:00
event_auth.py fix bad variable ref 2020-01-28 14:55:22 +00: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 Remove the psutil dependency (#6318) 2019-11-05 05:05:48 +11:00
secrets.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
server.py Add database config class (#6513) 2019-12-18 10:45:12 +00:00
server.pyi Wake up transaction queue when remote server comes back online (#6706) 2020-01-17 10:27:19 +00:00
types.py Add StateMap type alias (#6715) 2020-01-16 13:31:22 +00:00
visibility.py Update the documentation of the filtering function 2019-12-16 12:15:37 +00:00