synapse/docs
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
..
admin_api Admin API for reported events (#8217) 2020-09-22 18:15:04 +01:00
dev
privacy_policy_templates/en
systemd-with-workers Systemd docs: configure workers to start after main process. (#8276) 2020-09-08 10:57:43 +01:00
.sample_config_header.yaml Various improvements to the docs (#7899) 2020-07-29 10:35:44 -04:00
ACME.md
ancient_architecture_notes.md
application_services.md
architecture.md
CAPTCHA_SETUP.md
code_style.md Remove docs/sphinx and related references (#8480) 2020-10-07 11:45:31 +01:00
consent_tracking.md
delegate.md
federate.md Updated docs: Added note about missing 308 redirect support. (#8120) 2020-08-19 12:26:50 +01:00
jwt.md
log_contexts.md
manhole.md Update manhole documentation for async/await. (#8462) 2020-10-05 09:40:19 -04:00
media_repository.md
message_retention_policies.md
metrics-howto.md Fix typo in metrics docs (#7966) 2020-07-28 10:03:18 +01:00
MSC1711_certificates_FAQ.md
openid.md Add config option for always using "userinfo endpoint" for OIDC (#7658) 2020-10-01 13:54:35 -04:00
opentracing.md
password_auth_providers.md Add a link to the matrix-synapse-rest-password-provider. (#8111) 2020-08-18 09:54:35 -04:00
postgres.md Add checks for postgres sequence consistency (#8402) 2020-09-28 18:00:30 +01:00
README.md
replication.md
reverse_proxy.md Increase default max_upload_size from 10M to 50M (#8502) 2020-10-09 16:58:23 +01:00
room_and_user_statistics.md
sample_config.yaml Increase default max_upload_size from 10M to 50M (#8502) 2020-10-09 16:58:23 +01:00
sample_log_config.yaml Move setting of Filter into code. 2020-08-11 18:10:46 +01:00
server_notices.md
spam_checker.md Combine SpamCheckerApi with the more generic ModuleApi. (#8464) 2020-10-07 12:03:26 +01:00
sso_mapping_providers.md Allow additional SSO properties to be passed to the client (#8413) 2020-09-30 13:02:43 -04:00
structured_logging.md
synctl_workers.md Update worker docs with recent enhancements (#7969) 2020-07-29 23:22:13 +01:00
tcp_replication.md Make event persisters periodically announce position over replication. (#8499) 2020-10-12 15:51:41 +01:00
turn-howto.md
url_previews.md
user_directory.md Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
workers.md Allow background tasks to be run on a separate worker. (#8369) 2020-10-02 08:23:15 -04:00

Synapse Documentation

This directory contains documentation specific to the synapse homeserver.

All matrix-generic documentation now lives in its own project, located at matrix-org/matrix-doc

(Note: some items here may be moved to matrix-org/matrix-doc at some point in the future.)