forked-synapse/synapse/storage/schema/main/delta
Patrick Cloke 24a97b3e71
Delete event_push_summary_unique_index again. (#14669)
if a Synapse deployment upgraded (from < 1.62.0 to >= 1.70.0) then it
is possible for schema deltas to run before background updates causing
drift in the database schema due to:

1. A delta registered a background update to create an index.
2. A delta dropped the above index if it exists (but it yet exist won't since
  the background job hasn't run).
3. The code assumed the index was dropped.

To fix this we:

1. Cancel the background update which could create the index.
2. Drop the index again.
3. Drop a related index which is dropped by the background update.
2022-12-14 09:25:33 -05:00
..
12
13
14
15
16
17
18
19
20
21
22
24
25
26
27
28
29
30 Remove unnecessary pass statements. (#12206) 2022-03-11 07:06:21 -05:00
31
32
33
34
35
36
37
38
39
40 Speed up get_unread_event_push_actions_by_room (#13005) 2022-06-15 15:17:14 +00:00
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57 Use direct references for some configuration variables (#10798) 2021-09-13 13:07:12 -04:00
58
59
60
61 Make historical events discoverable from backfill for servers without any scrollback history (MSC2716) (#10245) 2021-07-28 10:46:37 -05:00
62 Move the sessions delta to the latest schema version. (#10725) 2021-08-31 16:38:43 +00:00
63 Add a partial index to presence_stream to speed up startups (#10748) 2021-09-03 17:16:56 +01:00
64 Move sql file for remove_deleted_devices_from_device_inbox into v65 (#11303) 2021-11-15 11:47:30 +00:00
65 Save the OIDC session ID (sid) with the device on login (#11482) 2021-12-06 12:43:06 -05:00
67 Drop unused table public_room_list_stream. (#11795) 2022-01-21 09:19:56 +00:00
68 Send device list updates to application services (MSC3202) - part 1 (#11881) 2022-03-30 14:39:27 +01:00
69 Add index to cache invalidations (#12747) 2022-05-17 09:34:59 +00:00
70 Rename delta to apply in the proper schema version. (#13050) 2022-06-14 14:34:04 +00:00
71 Speed up get_unread_event_push_actions_by_room (#13005) 2022-06-15 15:17:14 +00:00
72 Update event push action and receipt tables to support threads. (#13753) 2022-09-14 17:11:16 +00:00
73 Delete event_push_summary_unique_index again. (#14669) 2022-12-14 09:25:33 -05:00