MatrixSynapse/changelog.d
Eric Eastwood 7c2a78bb3b
Marker events as state - MSC2716 (#12718)
Sending marker events as state now so they are always able to be seen by homeservers (not lost in some timeline gap).

Part of [MSC2716](https://github.com/matrix-org/matrix-spec-proposals/pull/2716)

Complement tests: https://github.com/matrix-org/complement/pull/371

As initially discussed at https://github.com/matrix-org/matrix-spec-proposals/pull/2716#discussion_r782629097 and https://github.com/matrix-org/matrix-spec-proposals/pull/2716#discussion_r876684431

When someone joins a room, process all of the marker events we see in the current state. Marker events should be sent with a unique `state_key` so that they can all resolve in the current state to easily be discovered. Marker events as state

 - If we re-use the same `state_key` (like `""`), then we would have to fetch previous snapshots of state up through time to find all of the marker events. This way we can avoid all of that. This PR was originally doing this but then thought of the smarter way to tackle in an [out of band discussion with @erikjohnston](https://docs.google.com/document/d/1JJDuPfcPNX75fprdTWlxlaKjWOdbdJylbpZ03hzo638/edit#bookmark=id.sm92fqyq7vpp).
 - Also avoids state resolution conflicts where only one of the marker events win

As a homeserver, when we see new marker state, we know there is new history imported somewhere back in time and should process it to fetch the insertion event where the historical messages are and set it as an insertion extremity. This way we know where to backfill more messages when someone asks for scrollback.
2022-05-23 20:43:37 -05:00
..
.gitignore
10533.misc
12477.misc
12498.misc
12513.feature
12567.misc
12586.misc
12588.misc
12611.bugfix Prevent expired events from being filtered out when retention is disabled (#12611) 2022-05-23 17:18:23 +00:00
12618.feature
12623.feature
12630.misc
12672.feature Send `USER_IP` commands on a different Redis channel, in order to reduce traffic to workers that do not process these commands. (#12809) 2022-05-20 15:28:23 +01:00
12673.feature
12676.misc
12677.misc
12679.misc
12680.misc
12683.bugfix
12687.bugfix Add a unique index to `state_group_edges` to prevent duplicates being accidentally introduced and the consequential impact to performance. (#12687) 2022-05-19 14:16:49 +01:00
12689.misc
12691.misc
12693.misc
12694.misc
12695.misc
12696.bugfix
12698.misc
12699.misc
12700.misc
12701.feature
12703.misc Uniformize spam-checker API, part 1: the `Code` enum. (#12703) 2022-05-20 14:53:25 +02:00
12705.misc
12708.misc
12709.removal
12711.misc
12713.bugfix
12715.doc
12716.misc
12717.misc
12718.feature Marker events as state - MSC2716 (#12718) 2022-05-23 20:43:37 -05:00
12720.misc
12721.bugfix
12723.misc
12726.misc
12727.doc
12731.misc
12734.misc
12742.doc
12744.feature add SpamChecker callback for silently dropping inbound federated events (#12744) 2022-05-23 16:36:21 +00:00
12747.bugfix
12748.doc
12749.doc Fix typo in name of 'run_background_tasks_on' option in config manual (#12749) 2022-05-16 17:31:12 +00:00
12753.misc
12759.doc
12761.doc
12762.misc
12765.doc
12769.misc
12770.bugfix
12772.misc
12773.doc
12774.misc
12775.misc
12776.doc Add detail to `cache_autotuning` config option documentation (#12776) 2022-05-19 07:47:07 -07:00
12777.doc Update configuration manual to document size-related suffixes (#12777) 2022-05-19 07:46:33 -07:00
12779.bugfix
12781.misc
12783.misc
12785.doc
12786.feature
12789.misc
12790.misc
12791.misc Update EventContext `get_current_event_ids` and `get_prev_event_ids` to accept state filters and update calls where possible (#12791) 2022-05-20 09:54:12 +01:00
12792.feature Add a unit test for copying over arbitrary room types when upgrading a room (#12792) 2022-05-19 18:32:48 +01:00
12794.bugfix Properly close providers.json file stream. (#12794) 2022-05-19 14:23:59 +00:00
12803.bugfix Fix `RetryDestinationLimiter` re-starting finished log contexts (#12803) 2022-05-19 20:17:10 +01:00
12808.feature Uniformize spam-checker API, part 2: check_event_for_spam (#12808) 2022-05-23 17:27:39 +00:00
12809.feature Send `USER_IP` commands on a different Redis channel, in order to reduce traffic to workers that do not process these commands. (#12809) 2022-05-20 15:28:23 +01:00
12818.misc Remove Caddy from the Synapse workers image used in Complement. (#12818) 2022-05-23 10:29:24 +01:00
12819.misc Fix Complement `TestCanRegisterAdmin` with workers, by adding Complement's shared registration secret. (#12819) 2022-05-23 12:20:30 +01:00
12823.bugfix Fix media thumbnails being unusable before the index had been added in the background. (#12823) 2022-05-23 10:28:56 +01:00
12826.misc Support registering Application Services when running with workers under Complement. (#12826) 2022-05-23 14:11:06 +01:00
12833.misc Add some type hints to tests files (#12833) 2022-05-23 11:23:26 +00:00
12842.misc Disable 'faster room join' Complement tests when testing against Synapse with workers. (#12842) 2022-05-23 17:27:05 +01:00