anonymousland-synapse/synapse/storage
Richard van der Hoff 7098b65cb8 Fix error on sqlite 3.7
Create the url_cache index on local_media_repository as a background update, so
that we can detect whether we are on sqlite or not and create a partial or
complete index accordingly.

To avoid running the cleanup job before we have built the index, add a bailout
which will defer the cleanup if the bg updates are still running.

Fixes https://github.com/matrix-org/synapse/issues/2572.
2017-11-21 11:14:17 +00:00
..
engines Optionally make committing to postgres asynchronous. 2016-06-20 17:53:38 +01:00
schema Fix error on sqlite 3.7 2017-11-21 11:14:17 +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 Fix broken ref to IntegrityError 2017-11-16 16:03:38 +00:00
account_data.py Up cache size of get_global_account_data_by_type_for_user 2017-11-13 09:52:11 +00:00
appservice.py Make __init__ consitstent across Store heirarchy 2017-11-13 10:46:07 +00:00
background_updates.py Fix error on sqlite 3.7 2017-11-21 11:14:17 +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 Make __init__ consitstent across Store heirarchy 2017-11-13 10:46:07 +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 Fix error on sqlite 3.7 2017-11-21 11:14:17 +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 Add user profiles to summary from group server 2017-08-25 16:23:58 +01: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 Make __init__ consitstent across Store heirarchy 2017-11-13 10:46:07 +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 s/users_in_pubic_room/users_in_public_rooms/g 2017-11-04 19:38:13 +00:00