anonymousland-synapse/changelog.d
Sean Quah 2ec9c58496
Faster joins: Update room stats and the user directory on workers when finishing join (#14874)
* Faster joins: Update room stats and user directory on workers when done

When finishing a partial state join to a room, we update the current
state of the room without persisting additional events. Workers receive
notice of the current state update over replication, but neglect to wake
the room stats and user directory updaters, which then get incidentally
triggered the next time an event is persisted or an unrelated event
persister sends out a stream position update.

We wake the room stats and user directory updaters at the appropriate
time in this commit.

Part of #12814 and #12815.

Signed-off-by: Sean Quah <seanq@matrix.org>

* fixup comment

Signed-off-by: Sean Quah <seanq@matrix.org>
2023-01-23 10:31:36 +00:00
..
.gitignore
14111.feature Change default room version to 10. Implements MSC3904 (#14111) 2023-01-18 18:59:48 +00:00
14629.feature Add set_displayname to the module API (#14629) 2023-01-11 18:41:52 +00:00
14667.doc Include x_forwarded in workers example configs (#14667) 2023-01-13 14:06:58 +00:00
14747.feature Add listener health (#14747) 2023-01-11 12:00:38 +00:00
14749.misc Faster remote room joins (worker mode): do not populate external hosts-in-room cache when sending events as this requires blocking for full state. (#14749) 2023-01-11 13:21:53 +00:00
14752.misc Enable Faster Remote Room Joins against worker-mode Synapse. (#14752) 2023-01-22 21:10:11 +00:00
14773.doc Remove outdated commands from the code style doc & point to the contributing guide. (#14773) 2023-01-11 15:21:12 +00:00
14775.feature Implement MSC3890: Remotely silence local notifications (#14775) 2023-01-13 19:32:10 +00:00
14787.feature Implement MSC3930: polls push rules (#14787) 2023-01-19 12:47:10 +00:00
14799.bugfix Add index to improve performance of the /timestamp_to_event endpoint used for jumping to a specific date in the timeline of a room. (#14799) 2023-01-11 12:29:13 +00:00
14803.doc Add tag to listeners documentation (#14803) 2023-01-11 10:47:44 +00:00
14804.misc Add some clarifying comments and refactor a portion of the Keyring class for readability (#14804) 2023-01-13 12:37:28 +00:00
14807.misc Add poetry.toml to .gitignore (#14807) 2023-01-11 11:44:13 +00:00
14811.feature Implement MSC3925: changes to bundling of edits (#14811) 2023-01-10 16:31:28 +00:00
14812.bugfix Fix stack overflow in _PerHostRatelimiter due to synchronous requests (#14812) 2023-01-13 00:16:21 +00:00
14816.misc Fix-up type hints for tests.push module. (#14816) 2023-01-11 07:35:40 -05:00
14818.doc Update misleading documentation user_directory.search_all_users (#14818) 2023-01-13 14:46:21 +00:00
14819.misc Factor out common code in tests and fix comments. (#14819) 2023-01-11 13:36:41 -05:00
14820.bugfix Wait for streams to catch up when processing HTTP replication. (#14820) 2023-01-18 19:35:29 +00:00
14821.misc Re-enable some linting (#14821) 2023-01-12 10:52:07 +00:00
14822.misc Add rust linting commands to scripts-dev/lint.sh (#14822) 2023-01-12 16:20:34 +00:00
14824.doc Add worker_manhole to configuration manual (#14824) 2023-01-13 14:14:39 +00:00
14825.misc Drop unused table presence (#14825) 2023-01-13 14:17:03 +00:00
14826.misc Merge device list replication streams (#14833) 2023-01-17 09:29:58 +00:00
14832.misc Use stable identifiers for faster joins (#14832) 2023-01-13 17:58:53 +00:00
14833.misc Merge device list replication streams (#14833) 2023-01-17 09:29:58 +00:00
14839.feature Stabilise serving partial join responses (#14839) 2023-01-17 12:44:15 +00:00
14841.misc Also use stable name in SendJoinResponse struct (#14841) 2023-01-16 12:40:25 +00:00
14842.bugfix Remove unnecessary reactor reference from _PerHostRatelimiter (#14842) 2023-01-16 13:16:19 +00:00
14843.misc Add parameter to control whether we do a partial state join (#14843) 2023-01-16 23:15:17 +00:00
14844.misc Faster joins: Avoid starting duplicate partial state syncs (#14844) 2023-01-20 12:06:19 +00:00
14845.doc Fix missing field in AS documentation (#14845) 2023-01-16 12:59:15 +00:00
14848.misc Bump regex from 1.7.0 to 1.7.1 (#14848) 2023-01-16 10:51:55 +00:00
14855.misc Add an early return when handling no-op presence updates. (#14855) 2023-01-16 14:20:12 +00:00
14856.misc Fix bug in wait_for_stream_position (#14856) 2023-01-17 09:58:22 +00:00
14860.removal Require poetry>=1.3.2 (#14860) 2023-01-17 18:04:44 +00:00
14861.misc Bump peaceiris/actions-gh-pages from 3.9.1 to 3.9.2 (#14861) 2023-01-17 18:28:04 +00:00
14862.misc Bump ruff from 0.0.215 to 0.0.224 (#14862) 2023-01-17 18:47:47 +00:00
14863.misc Bump types-pillow from 9.4.0.0 to 9.4.0.3 (#14863) 2023-01-17 18:39:50 +00:00
14864.bugfix Properly check for frozendicts in event auth code. (#14864) 2023-01-18 09:27:57 -05:00
14868.doc Update logging_sample_config.md (#14868) 2023-01-19 11:58:17 +00:00
14872.misc Fix bug in wait for stream position (#14872) 2023-01-19 22:19:56 +00:00
14874.bugfix Faster joins: Update room stats and the user directory on workers when finishing join (#14874) 2023-01-23 10:31:36 +00:00
14875.docker Dockerfile: Bump Python version from 3.9 to 3.11 (#14875) 2023-01-20 12:07:13 +00:00
14877.misc Always notify replication when a stream advances (#14877) 2023-01-20 18:02:18 +00:00
14881.misc Reduce max time we wait for stream positions (#14881) 2023-01-20 21:04:33 +00:00
14882.bugfix Faster joins: Fix incompatibility with restricted joins (#14882) 2023-01-22 19:19:31 +00:00
14885.misc Add type hints to TestRatelimiter (#14885) 2023-01-21 15:59:15 +00:00
14889.misc Fix type hints for Monthly Active Users tests (#14889) 2023-01-22 10:50:14 +01:00