synapse/changelog.d
Richard van der Hoff 75fb10ee45
Clean up schema for event_edges (#12893)
* Remove redundant references to `event_edges.room_id`

We don't need to care about the room_id here, because we are already checking
the event id.

* Clean up the event_edges table

We make a number of changes to `event_edges`:

 * We give the `room_id` and `is_state` columns defaults (null and false
   respectively) so that we can stop populating them.
 * We drop any rows that have `is_state` set true - they should no longer
   exist.
 * We drop any rows that do not exist in `events` - these should not exist
   either.
 * We drop the old unique constraint on all the colums, which wasn't much use.
 * We create a new unique index on `(event_id, prev_event_id)`.
 * We add a foreign key constraint to `events`.

These happen rather differently depending on whether we are on Postgres or
SQLite. For SQLite, we just rebuild the whole table, copying only the rows we
want to keep. For Postgres, we try to do things in the background as much as
possible.

* Stop populating `event_edges.room_id` and `is_state`

We can just rely on the defaults.
2022-06-15 12:29:42 +01:00
..
.gitignore Correct attrs package name in requirements (#3492) 2018-07-07 10:46:59 +10:00
12674.misc Test cancellation at every await during request handling (#12674) 2022-06-07 17:14:47 +01:00
12737.doc Docker Compose Worker Documentation and Examples (#12737) 2022-06-08 10:26:42 +01:00
12738.misc Return the same error message from /login when password is incorrect and when account doesn't exist. (#12738) 2022-06-07 14:58:48 +00:00
12857.feature Uniformize spam-checker API, part 4: port other spam-checker callbacks to return Union[Allow, Codes]. (#12857) 2022-06-13 18:16:16 +00:00
12881.misc Merge the Complement testing Docker images into a single, multi-purpose image. (#12881) 2022-06-08 09:57:05 +00:00
12893.misc Clean up schema for event_edges (#12893) 2022-06-15 12:29:42 +01:00
12929.misc Clean up the test code for client disconnections (#12929) 2022-06-07 18:17:32 +01:00
12941.misc Remove code generating comments in configuration file (#12941) 2022-06-14 07:53:42 -07:00
12954.misc Replace noop background updates with DELETE. (#12954) 2022-06-13 14:06:27 -04:00
12957.misc Use READ COMMITTED isolation level when inserting read receipts (#12957) 2022-06-09 09:44:16 +01:00
12963.misc Reduce amount of state we pull out when attempting to send catchup PDUs. (#12963) 2022-06-07 14:35:56 +01:00
12965.misc Enable testing against PostgreSQL databases in Complement CI. (#12965) 2022-06-09 14:16:34 +01:00
12969.misc Fix a stale comment in get_room_version_id_txn. (#12969) 2022-06-07 07:44:31 -04:00
12970.misc Consolidate the logic of delete_device/delete_devices. (#12970) 2022-06-07 07:43:35 -04:00
12973.bugfix Fix Synapse git info missing in version strings (#12973) 2022-06-07 15:24:11 +01:00
12979.bugfix Use dummy fallback engines if imports fail (#12979) 2022-06-07 17:33:55 +01:00
12982.misc Use a GitHub form for issues rather than a hard-to-read, easy-to-ignore template. (#12982) 2022-06-08 11:11:02 +00:00
12984.misc Move the (unstable) dir parameter for /relations behind an experimental flag. (#12984) 2022-06-08 09:00:35 -04:00
12985.misc Type annotations for test_v2 (#12985) 2022-06-09 09:48:04 +01:00
12986.misc Move the "email unsubscribe" resource, refactor the macaroon generator & simplify the access token verification logic. (#12986) 2022-06-14 09:12:08 -04:00
12990.misc Fix example of running complement.sh. (#12990) 2022-06-09 07:21:15 -04:00
12991.bugfix Stop depending on room_id to be returned for children state in the hierarchy response. (#12991) 2022-06-10 07:15:51 -04:00
13004.misc Faster joins: add issue links to the TODOs (#13004) 2022-06-09 10:13:03 +00:00
13013.misc Fix-up the contrib/graph scripts. (#13013) 2022-06-10 08:30:14 -04:00
13017.misc changelog 2022-06-12 23:13:10 +01:00
13021.misc Decouple synapse.api.auth_blocking.AuthBlocking from synapse.api.auth.Auth. (#13021) 2022-06-14 09:51:15 +01:00
13022.doc Add missing TOC link to poetry cheat sheet (#13022) 2022-06-10 15:47:49 +01:00
13023.doc Mention removed community/group worker endpoints in upgrade.md (#13023) 2022-06-14 11:35:22 +01:00
13034.misc Fix Complement runs always being Postgres (#13034) 2022-06-14 13:13:35 +01:00
13041.bugfix Fix destination_is errors seen in sentry. (#13041) 2022-06-14 18:28:26 +01:00
13047.feature Fix version number in spam checker callbacks doc (#13047) 2022-06-14 17:24:25 +02:00
13048.misc Up complement time outs (#13048) 2022-06-14 17:59:06 +01:00
13050.misc Rename delta to apply in the proper schema version. (#13050) 2022-06-14 14:34:04 +00:00
13052.misc Refactor entry points so that they all have a main function. (#13052) 2022-06-14 17:41:06 +00:00
13061.misc Fix typechecks against twisted trunk (#13061) 2022-06-15 11:49:58 +01:00