anonymousland-synapse/changelog.d
Erik Johnston 8de3703d21
Make event persisters periodically announce position over replication. (#8499)
Currently background proccesses stream the events stream use the "minimum persisted position" (i.e. `get_current_token()`) rather than the vector clock style tokens. This is broadly fine as it doesn't matter if the background processes lag a small amount. However, in extreme cases (i.e. SyTests) where we only write to one event persister the background processes will never make progress.

This PR changes it so that the `MultiWriterIDGenerator` keeps the current position of a given instance as up to date as possible (i.e using the latest token it sees if its not in the process of persisting anything), and then periodically announces that over replication. This then allows the "minimum persisted position" to advance, albeit with a small lag.
2020-10-12 15:51:41 +01:00
..
.gitignore Correct attrs package name in requirements (#3492) 2018-07-07 10:46:59 +10:00
7658.feature Add config option for always using "userinfo endpoint" for OIDC (#7658) 2020-10-01 13:54:35 -04:00
8292.feature Allow ThirdPartyEventRules modules to manipulate public room state (#8292) 2020-10-05 14:57:46 +01:00
8312.feature Add support for MSC2732: olm fallback keys (#8312) 2020-10-06 13:26:29 -04:00
8369.feature Allow background tasks to be run on a separate worker. (#8369) 2020-10-02 08:23:15 -04:00
8380.feature Add support for MSC2697: Dehydrated devices (#8380) 2020-10-07 08:00:17 -04:00
8390.docker Docker: support passing additional commandline args to synapse (#8390) 2020-10-11 20:51:11 +01:00
8407.misc Add typing information to the device handler. (#8407) 2020-10-07 08:58:21 -04:00
8432.misc Enable mypy checking for unreachable code and fix instances. (#8432) 2020-10-01 08:09:18 -04:00
8433.misc Add unit test for event persister sharding (#8433) 2020-10-02 09:57:12 +01:00
8439.misc Use vector clocks for room stream tokens. (#8439) 2020-10-07 15:15:33 +01:00
8443.misc Include a public_baseurl in configs generated by the demo script. (#8443) 2020-10-02 07:24:07 -04:00
8448.misc Add logging on startup/shutdown (#8448) 2020-10-02 15:20:45 +01:00
8450.misc Speed up unit tests when using PostgreSQL (#8450) 2020-10-02 15:09:31 +01:00
8452.misc Remove stream ordering from Metadata dict (#8452) 2020-10-05 14:43:14 +01:00
8454.bugfix Do not assume that account data is of the correct form. (#8454) 2020-10-05 09:28:05 -04:00
8457.bugfix Ensure that event.redacts is the proper type before handling it (#8457) 2020-10-05 10:24:17 -04:00
8458.feature Move additional tasks to the background worker (#8458) 2020-10-07 11:27:56 -04:00
8461.feature Update default room version to 6 (#8461) 2020-10-05 21:40:51 +01:00
8462.doc Update manhole documentation for async/await. (#8462) 2020-10-05 09:40:19 -04:00
8463.misc changelog 2020-10-05 19:04:13 +01:00
8464.misc Combine SpamCheckerApi with the more generic ModuleApi. (#8464) 2020-10-07 12:03:26 +01:00
8465.bugfix Don't bother responding to client requests that have already disconnected (#8465) 2020-10-06 10:03:39 +01:00
8467.feature Fix third-party event modules for check_visibility_can_be_modified check 2020-10-05 20:29:52 +01:00
8468.misc Additional tests for third-party event rules (#8468) 2020-10-06 16:31:31 +01:00
8474.misc unblacklist some tests (#8474) 2020-10-07 13:39:50 +01:00
8477.misc Include the configured log level in phone home stats. (#8477) 2020-10-07 11:13:38 -04:00
8479.feature Allow modules to create and send events into rooms (#8479) 2020-10-09 13:46:36 +01:00
8480.misc Remove docs/sphinx and related references (#8480) 2020-10-07 11:45:31 +01:00
8486.bugfix Fix returning incorrect prev_batch token in incremental sync (#8486) 2020-10-07 13:49:40 +01:00
8489.feature Move additional tasks to the background worker, part 3 (#8489) 2020-10-09 07:37:51 -04:00
8492.misc Clarify error message when plugin config parsers raise an error (#8492) 2020-10-08 11:10:15 +01:00
8493.doc Add useful shields to readme (#8493) 2020-10-08 11:16:56 +01:00
8494.misc Remove the deprecated Handlers object (#8494) 2020-10-09 07:24:34 -04:00
8496.misc Only send RDATA for instance local events. (#8496) 2020-10-09 13:10:33 +01:00
8497.misc Fix threadsafety in ThreadedMemoryReactorClock (#8497) 2020-10-09 17:22:25 +01:00
8499.misc Make event persisters periodically announce position over replication. (#8499) 2020-10-12 15:51:41 +01:00
8501.feature Invalidate the cache when an olm fallback key is uploaded (#8501) 2020-10-08 13:24:46 -04:00
8502.feature Increase default max_upload_size from 10M to 50M (#8502) 2020-10-09 16:58:23 +01:00
8505.misc Add type hints to some handlers (#8505) 2020-10-09 07:20:51 -04:00
8507.misc Add type hints to response cache. (#8507) 2020-10-09 11:35:11 -04:00
8514.misc Clean-up some broken/unused code in the test framework (#8514) 2020-10-09 14:19:29 -04:00