forked-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
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
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
metrics
module_api
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
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
state Pass room version object into event_auth.check and check_redaction (#6788) 2020-01-28 14:18:29 +00:00
static
storage Delete current state when server leaves a room (#6792) 2020-01-29 11:01:32 +00:00
streams
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
secrets.py
server.py
server.pyi Wake up transaction queue when remote server comes back online (#6706) 2020-01-17 10:27:19 +00:00
types.py
visibility.py