MatrixSynapse/synapse
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
..
_scripts
api Allow configuration of Synapse's cache without using synctl or environment variables (#6391) 2020-05-11 18:45:23 +01:00
app Fix new flake8 errors (#7470) 2020-05-12 11:20:48 +01:00
appservice
config Fix new flake8 errors (#7470) 2020-05-12 11:20:48 +01:00
crypto
events
federation
groups
handlers Convert federation handler to async/await. (#7459) 2020-05-11 15:12:46 -04:00
http Allow configuration of Synapse's cache without using synctl or environment variables (#6391) 2020-05-11 18:45:23 +01:00
logging
metrics Allow configuration of Synapse's cache without using synctl or environment variables (#6391) 2020-05-11 18:45:23 +01:00
module_api
push Fix new flake8 errors (#7470) 2020-05-12 11:20:48 +01:00
replication Have all instances correctly respond to REPLICATE command. (#7475) 2020-05-13 10:27:02 +01:00
res/templates
rest
server_notices
spam_checker_api
state Allow configuration of Synapse's cache without using synctl or environment variables (#6391) 2020-05-11 18:45:23 +01:00
static
storage Shuffle persist event data store functions. (#7440) 2020-05-13 13:38:22 +01:00
streams
util Allow configuration of Synapse's cache without using synctl or environment variables (#6391) 2020-05-11 18:45:23 +01:00
__init__.py
event_auth.py
notifier.py Fix new flake8 errors (#7470) 2020-05-12 11:20:48 +01:00
python_dependencies.py
secrets.py
server.py
server.pyi
types.py
visibility.py