synapse-product/synapse/events
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 Optimise state resolution 2017-01-17 13:22:19 +00:00
builder.py Remove pointless create() method 2017-10-20 22:14:55 +01:00
snapshot.py Store state groups separately from events (#2784) 2018-02-06 14:31:24 +00:00
spamcheck.py replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
utils.py Comment and remove spurious logging 2017-04-27 17:25:44 +01:00
validator.py copyrights 2016-01-07 04:26:29 +00:00