synapse-product/synapse/storage/schema/delta
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
..
11 copyrights 2016-01-07 04:26:29 +00:00
12 copyrights 2016-01-07 04:26:29 +00:00
13 copyrights 2016-01-07 04:26:29 +00:00
14 Don't require config to create database 2016-04-06 14:15:45 +01:00
15 copyrights 2016-01-07 04:26:29 +00:00
16 Use TEXT instead of VARCHAR(n), since PostgreSQL treats them the same except for a limit 2015-04-28 12:41:33 +01:00
17 copyrights 2016-01-07 04:26:29 +00:00
18 copyrights 2016-01-07 04:26:29 +00:00
19 copyrights 2016-01-07 04:26:29 +00:00
20 Don't require config to create database 2016-04-06 14:15:45 +01:00
21 copyrights 2016-01-07 04:26:29 +00:00
22 Add comments to existing schema deltas that used "CREATE INDEX" directly 2016-09-12 11:00:26 +01:00
23 Remove the last vestiges of refresh_tokens 2017-10-31 20:35:58 +00:00
24 copyrights 2016-01-07 04:26:29 +00:00
25 Don't require config to create database 2016-04-06 14:15:45 +01:00
26 copyrights 2016-01-07 04:26:29 +00:00
27 Don't require config to create database 2016-04-06 14:15:45 +01:00
28 Add comments to existing schema deltas that used "CREATE INDEX" directly 2016-09-12 11:00:26 +01:00
29 Add comments to existing schema deltas that used "CREATE INDEX" directly 2016-09-12 11:00:26 +01:00
30 replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
31 Add comments to existing schema deltas that used "CREATE INDEX" directly 2016-09-12 11:00:26 +01:00
32 Remove topics table 2016-05-13 14:40:38 +01:00
33 Remove the last vestiges of refresh_tokens 2017-10-31 20:35:58 +00:00
34 Just move the schema and add some DROPs 2016-09-09 11:04:47 +01:00
35 Drop some unused indices 2016-10-17 11:08:19 +01:00
36 Latest delta is now 37 2016-10-19 11:40:35 +01:00
37 Add a comment to old delta 2017-05-11 12:48:50 +01:00
38 Replace postgres GIN with GIST 2016-11-03 15:00:03 +00:00
39 Merge pull request #1676 from matrix-org/erikj/room_list 2016-12-12 17:00:10 +00:00
40 Use TEXT rather than VARCHAR 2017-02-17 10:51:49 +00:00
41 Add an index to event_search 2017-05-11 12:05:22 +01:00
42 Split up device_lists_outbound_pokes table for faster updates. 2017-06-07 11:02:38 +01:00
43 s/popualte/populate/ 2017-11-04 19:35:33 +00:00
44 Fix error on sqlite 3.7 2017-11-21 11:14:17 +00:00
45 Fix schema delta versions 2017-10-11 13:23:15 +01:00
46 Merge branch 'develop' into matthew/search-all-local-users 2017-11-30 01:51:38 +00:00
47 Store state groups separately from events (#2784) 2018-02-06 14:31:24 +00:00