anonymousland-synapse/synapse/replication/slave/storage
Erik Johnston 3d33eef6fc
Store state groups separately from events (#2784)
* Split state group persist into seperate storage func

* Add per database engine code for state group id gen

* Move store_state_group to StateReadStore

This allows other workers to use it, and so resolve state.

* Hook up store_state_group

* Fix tests

* Rename _store_mult_state_groups_txn

* Rename StateGroupReadStore

* Remove redundant _have_persisted_state_group_txn

* Update comments

* Comment compute_event_context

* Set start val for state_group_id_seq

... otherwise we try to recreate old state groups

* Update comments

* Don't store state for outliers

* Update comment

* Update docstring as state groups are ints
2018-02-06 14:31:24 +00:00
..
__init__.py Add a slaved events store class 2016-04-06 14:18:35 +01:00
_base.py Make __init__ consitstent across Store heirarchy 2017-11-13 10:46:07 +00:00
_slaved_id_tracker.py Fix assertion to stop transaction queue getting wedged 2017-03-15 12:16:55 +00:00
account_data.py Change slave storage to use new replication interface 2017-04-03 15:34:19 +01:00
appservice.py Initialise exclusive_user_regex 2017-06-21 14:19:33 +01:00
client_ips.py Fix up 2017-06-27 15:53:45 +01:00
deviceinbox.py Change slave storage to use new replication interface 2017-04-03 15:34:19 +01:00
devices.py Add missing storage function to slave store 2017-05-22 16:31:24 +01:00
directory.py Use cached version of get_aliases_for_room 2016-08-15 11:24:12 +01:00
events.py Store state groups separately from events (#2784) 2018-02-06 14:31:24 +00:00
filtering.py Add a comment explaining why the filter cache doesn't need exipiring 2016-06-03 11:03:10 +01:00
groups.py Fix replication. And notify 2017-07-20 17:13:18 +01:00
keys.py Add more key storage funcs into slave store 2016-07-28 15:41:26 +01:00
presence.py Move get_presence_list_* to SlaveStore 2017-04-11 16:07:33 +01:00
push_rule.py Change slave storage to use new replication interface 2017-04-03 15:34:19 +01:00
pushers.py Change slave storage to use new replication interface 2017-04-03 15:34:19 +01:00
receipts.py Change slave storage to use new replication interface 2017-04-03 15:34:19 +01:00
registration.py Add appservice worker 2016-08-18 14:59:55 +01:00
room.py Change slave storage to use new replication interface 2017-04-03 15:34:19 +01:00
transactions.py Invalidate retry cache in both directions 2016-11-22 17:45:44 +00:00