mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
782e4e64df
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. |
||
---|---|---|
.. | ||
.gitignore | ||
6391.feature | ||
7256.feature | ||
7281.misc | ||
7317.feature | ||
7374.misc | ||
7382.misc | ||
7396.misc | ||
7398.docker | ||
7428.misc | ||
7429.misc | ||
7435.feature | ||
7436.misc | ||
7440.misc | ||
7445.misc | ||
7448.misc | ||
7449.misc | ||
7458.doc | ||
7459.misc | ||
7460.misc | ||
7470.misc | ||
7475.misc | ||
7482.bugfix |