forked-synapse/synapse/storage
Richard van der Hoff 64ddec1bc0 Fix a logcontext leak in persist_events
ObserveableDeferred expects its callbacks to be called without any
logcontexts, whereas it turns out we were calling them with the logcontext of
the request which initiated the persistence loop.

It seems wrong that we are attributing work done in the persistence loop to the
request that happened to initiate it, so let's solve this by dropping the
logcontext for it.

(I'm not sure this actually causes any real problems other than messages in the
debug log, but let's clean it up anyway)
2018-01-16 11:47:36 +00:00
..
engines Optionally make committing to postgres asynchronous. 2016-06-20 17:53:38 +01:00
schema Merge branch 'develop' into matthew/search-all-local-users 2017-11-30 01:51:38 +00:00
util Fix assertion to stop transaction queue getting wedged 2017-03-15 12:16:55 +00:00
__init__.py Make __init__ consitstent across Store heirarchy 2017-11-13 10:46:07 +00:00
_base.py Merge branch 'develop' into matthew/search-all-local-users 2017-11-30 01:51:38 +00:00
account_data.py Avoid locking account_data tables for upserts 2017-11-16 18:08:01 +00:00
appservice.py Make __init__ consitstent across Store heirarchy 2017-11-13 10:46:07 +00:00
background_updates.py Check database in has_completed_background_updates 2017-11-22 18:02:15 +00:00
client_ips.py Make __init__ consitstent across Store heirarchy 2017-11-13 10:46:07 +00:00
deviceinbox.py Make __init__ consitstent across Store heirarchy 2017-11-13 10:46:07 +00:00
devices.py Make __init__ consitstent across Store heirarchy 2017-11-13 10:46:07 +00:00
directory.py Add shutdown room API 2017-06-19 12:37:27 +01:00
end_to_end_keys.py Remove redundant invalidation 2017-05-23 09:46:59 +01:00
event_federation.py Make __init__ consitstent across Store heirarchy 2017-11-13 10:46:07 +00:00
event_push_actions.py Make __init__ consitstent across Store heirarchy 2017-11-13 10:46:07 +00:00
events.py Fix a logcontext leak in persist_events 2018-01-16 11:47:36 +00:00
filtering.py replaced json.dumps with encode_canonical_json 2017-06-21 14:48:12 +02:00
group_server.py Fix typo 2017-11-09 15:56:16 +00:00
keys.py Invalidate signing key cache when we gat an update 2017-09-20 01:32:42 +01:00
media_repository.py Remove dead code related to default thumbnails 2018-01-09 14:38:33 +00:00
openid.py Add an openidish mechanism for proving to third parties that you own a given user_id 2016-05-05 13:42:44 +01:00
prepare_database.py DB schema interface for password auth providers 2017-10-31 14:01:53 +00:00
presence.py Actually call invalidate 2017-03-24 13:28:20 +00:00
profile.py fix StoreError syntax 2017-12-05 11:09:31 +00:00
push_rule.py Increase size of push rule caches 2017-05-18 17:17:53 +01:00
pusher.py Avoid locking for upsert on pushers tables 2017-11-16 17:52:23 +00:00
receipts.py Make __init__ consitstent across Store heirarchy 2017-11-13 10:46:07 +00:00
registration.py Remove pushers when deleting access tokens 2017-11-29 16:44:35 +00:00
rejections.py copyrights 2016-01-07 04:26:29 +00:00
room.py Handle thumbnail urls 2017-06-19 17:48:28 +01:00
roommember.py Make __init__ consitstent across Store heirarchy 2017-11-13 10:46:07 +00:00
search.py Make __init__ consitstent across Store heirarchy 2017-11-13 10:46:07 +00:00
signatures.py User Cursor.__iter__ instead of fetchall 2017-03-23 17:53:49 +00:00
state.py Pull out bits of StateStore to a mixin 2017-11-14 11:43:58 +00:00
stream.py Remove preserve_context_over_{fn, deferred} 2017-11-14 11:22:42 +00:00
tags.py User Cursor.__iter__ instead of fetchall 2017-03-23 17:53:49 +00:00
transactions.py Make __init__ consitstent across Store heirarchy 2017-11-13 10:46:07 +00:00
user_directory.py fix pep8 and tests 2017-12-04 15:11:38 +00:00