summary refs log tree commit diff
path: root/pyproject.toml
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2020-05-13 13:38:22 +0100
committerGitHub <noreply@github.com>2020-05-13 13:38:22 +0100
commit782e4e64df58dd9e114e7e1e467ae55219336b79 (patch)
tree861ac6fc207e586af98366e8017c6650b528c93c /pyproject.toml
parentHave all instances correctly respond to REPLICATE command. (#7475) (diff)
downloadsynapse-782e4e64df58dd9e114e7e1e467ae55219336b79.tar.xz
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.
Diffstat (limited to 'pyproject.toml')
0 files changed, 0 insertions, 0 deletions