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
..
2017-05-10 11:05:43 +01:00
2016-01-07 04:26:29 +00:00
2018-01-17 14:28:54 +00:00
2017-10-04 14:29:33 +01:00
2017-04-26 11:43:16 +01:00
2017-11-17 01:54:02 +00:00
2017-12-04 15:11:38 +00:00
2018-01-19 15:33:55 +00:00
2018-01-26 00:15:10 +00:00
2017-11-28 15:23:26 +00:00
2017-10-25 15:21:08 +01:00
2017-05-26 10:02:04 +01:00