synapse-product/changelog.d
Erik Johnston 5d3e306d9f
Clean up Notifier.on_new_room_event code path (#8288)
The idea here is that we pass the `max_stream_id` to everything, and only use the stream ID of the particular event to figure out *when* the max stream position has caught up to the event and we can notify people about it.

This is to maintain the distinction between the position of an item in the stream (i.e. event A has stream ID 513) and a token that can be used to partition the stream (i.e. give me all events after stream ID 352). This distinction becomes important when the tokens are more complicated than a single number, which they will be once we start tracking the position of multiple writers in the tokens.

The valid operations here are:

1. Is a position before or after a token
2. Fetching all events between two tokens
3. Merging multiple tokens to get the "max", i.e. `C = max(A, B)` means that for all positions P where P is before A *or* before B, then P is before C.

Future PR will change the token type to a dedicated type.
2020-09-10 13:24:43 +01:00
..
.gitignore Correct attrs package name in requirements (#3492) 2018-07-07 10:46:59 +10:00
7124.bugfix Include method in thumbnail media name (#7124) 2020-09-08 17:19:50 +01:00
7796.bugfix Don't remember enabled of deleted push rules and properly return 404 for missing push rules in .../actions and .../enabled (#7796) 2020-09-09 11:39:39 +01:00
8004.feature Show a confirmation page during user password reset (#8004) 2020-09-10 11:45:12 +01:00
8216.misc Remove some unused distributor signals (#8216) 2020-09-09 12:22:00 -04:00
8230.misc Catch-up after Federation Outage (split, 1) (#8230) 2020-09-04 12:22:23 +01:00
8236.bugfix Do not error when thumbnailing invalid files (#8236) 2020-09-09 12:59:41 -04:00
8243.misc Rename 'populate_stats_process_rooms_2' background job back to 'populate_stats_process_rooms' again (#8243) 2020-09-08 11:05:59 +01:00
8247.misc Catch up after Federation Outage (split, 2): Track last successful stream ordering after transmission (#8247) 2020-09-04 15:06:51 +01:00
8250.misc Clean up types for PaginationConfig (#8250) 2020-09-08 15:00:17 +01:00
8256.misc In light of #8255, use BIGINTs for destination_rooms (#8256) 2020-09-04 15:07:29 +01:00
8257.misc Fix MultiWriterIdGenerator.current_position. (#8257) 2020-09-08 14:26:54 +01:00
8258.misc Add tests for last_successful_stream_ordering (#8258) 2020-09-07 10:11:38 +01:00
8259.misc Directly import json from the standard library. (#8259) 2020-09-08 07:33:48 -04:00
8260.misc Add types to async_helpers (#8260) 2020-09-08 16:50:51 -04:00
8261.misc Allow for make_awaitable's return value to be re-used. (#8261) 2020-09-08 07:26:55 -04:00
8262.bugfix Bump canonicaljson to version 1.4.0 (#8262) 2020-09-07 12:21:38 +01:00
8265.bugfix Run database updates in a transaction (#8265) 2020-09-07 11:41:50 +01:00
8268.bugfix Fix stack overflow when logging system encounters an error (#8268) 2020-09-07 16:54:30 +01:00
8275.feature Add a config option for validating 'next_link' parameters against a domain whitelist (#8275) 2020-09-08 16:03:09 +01:00
8278.bugfix Use the right constructor for log records (#8278) 2020-09-08 14:52:51 +01:00
8279.misc Add types to StreamToken and RoomStreamToken (#8279) 2020-09-08 16:48:15 +01:00
8282.misc Fix mypy error on develop (#8282) 2020-09-08 17:43:31 +01:00
8285.misc blacklist MSC2753 sytests until it's implemented in synapse (#8285) 2020-09-09 13:25:59 +01:00
8287.bugfix Fixup pusher pool notifications (#8287) 2020-09-09 16:56:08 +01:00
8288.misc Clean up Notifier.on_new_room_event code path (#8288) 2020-09-10 13:24:43 +01:00