forked-synapse/synapse/storage/data_stores/main
Erik Johnston 782e4e64df
Shuffle persist event data store functions. (#7440)
The aim here is to get to a stage where we have a `PersistEventStore` that holds all the write methods used during event persistence, so that we can take that class out of the `DataStore` mixin and instansiate it separately. This will allow us to instansiate it on processes other than master, while also ensuring it is only available on processes that are configured to write to events stream.

This is a bit of an architectural change, where we end up with multiple classes per data store (rather than one per data store we have now). We end up having:

1. Storage classes that provide high level APIs that can talk to multiple data stores.
2. Data store modules that consist of classes that must point at the same database instance.
3. Classes in a data store that can be instantiated on processes depending on config.
2020-05-13 13:38:22 +01:00
..
schema Support any process writing to cache invalidation stream. (#7436) 2020-05-07 13:51:08 +01:00
__init__.py Shuffle persist event data store functions. (#7440) 2020-05-13 13:38:22 +01:00
account_data.py Merge pull request #6487 from matrix-org/erikj/pass_in_db 2019-12-09 13:53:21 +00:00
appservice.py Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 2020-02-21 07:15:07 -05:00
cache.py Support any process writing to cache invalidation stream. (#7436) 2020-05-07 13:51:08 +01:00
censor_events.py Shuffle persist event data store functions. (#7440) 2020-05-13 13:38:22 +01:00
client_ips.py Allow configuration of Synapse's cache without using synctl or environment variables (#6391) 2020-05-11 18:45:23 +01:00
deviceinbox.py Move catchup of replication streams to worker. (#7024) 2020-03-25 14:54:01 +00:00
devices.py Merge branch 'release-v1.13.0' into develop 2020-05-06 15:56:03 +01:00
directory.py Transfer alias mappings when joining an upgraded room (#6946) 2020-03-30 17:53:25 +01:00
e2e_room_keys.py Ensure is_verified on /_matrix/client/r0/room_keys/keys is a boolean (#7150) 2020-03-27 13:30:22 +00:00
end_to_end_keys.py Make get_e2e_cross_signing_key delegate to get_e2e_cross_signing_keys_bulk 2020-05-06 11:59:19 +01:00
event_federation.py Shuffle persist event data store functions. (#7440) 2020-05-13 13:38:22 +01:00
event_push_actions.py Shuffle persist event data store functions. (#7440) 2020-05-13 13:38:22 +01:00
events_bg_updates.py Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 2020-02-21 07:15:07 -05:00
events_worker.py Shuffle persist event data store functions. (#7440) 2020-05-13 13:38:22 +01:00
events.py Shuffle persist event data store functions. (#7440) 2020-05-13 13:38:22 +01:00
filtering.py Move DB pool and helper functions into dedicated Database class 2019-12-05 10:46:37 +00:00
group_server.py Allow moving group read APIs to workers (#6866) 2020-02-07 11:14:19 +00:00
keys.py move batch_iter to a separate module 2020-01-16 22:25:32 +00:00
media_repository.py Convert delete_url_cache_media to async/await. (#7241) 2020-04-07 21:56:34 +01:00
metrics.py Shuffle persist event data store functions. (#7440) 2020-05-13 13:38:22 +01:00
monthly_active_users.py Break down monthly active users by appservice_id (#7030) 2020-03-06 18:14:19 +00:00
openid.py Move DB pool and helper functions into dedicated Database class 2019-12-05 10:46:37 +00:00
presence.py Remove concept of a non-limited stream. (#7011) 2020-03-20 14:40:47 +00:00
profile.py Move DB pool and helper functions into dedicated Database class 2019-12-05 10:46:37 +00:00
purge_events.py Shuffle persist event data store functions. (#7440) 2020-05-13 13:38:22 +01:00
push_rule.py Fix race in replication (#7226) 2020-04-07 11:01:04 +01:00
pusher.py Merge worker apps into one. (#6964) 2020-02-25 16:56:55 +00:00
receipts.py Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 2020-02-21 07:15:07 -05:00
registration.py async/await is_server_admin (#7363) 2020-05-01 15:15:36 +01:00
rejections.py Shuffle persist event data store functions. (#7440) 2020-05-13 13:38:22 +01:00
relations.py Shuffle persist event data store functions. (#7440) 2020-05-13 13:38:22 +01:00
room.py Shuffle persist event data store functions. (#7440) 2020-05-13 13:38:22 +01:00
roommember.py Shuffle persist event data store functions. (#7440) 2020-05-13 13:38:22 +01:00
search.py Shuffle persist event data store functions. (#7440) 2020-05-13 13:38:22 +01:00
signatures.py Shuffle persist event data store functions. (#7440) 2020-05-13 13:38:22 +01:00
state_deltas.py Always return a deferred from get_current_state_deltas. (#7019) 2020-03-02 16:52:15 +00:00
state.py Shuffle persist event data store functions. (#7440) 2020-05-13 13:38:22 +01:00
stats.py Remove unused get_room_stats_state method. (#6869) 2020-02-07 15:30:26 +00:00
stream.py Remove stream before/after debug log lines (#7207) 2020-04-06 12:40:34 +01:00
tags.py Move DB pool and helper functions into dedicated Database class 2019-12-05 10:46:37 +00:00
transactions.py Change DataStores to accept 'database' param. 2019-12-06 13:30:06 +00:00
ui_auth.py Rework UI Auth session validation for registration (#7455) 2020-05-08 16:08:58 -04:00
user_directory.py Reduce amount of logging at INFO level. (#6862) 2020-02-06 13:31:05 +00:00
user_erasure_store.py Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 2020-02-21 07:15:07 -05:00