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
dev
privacy_policy_templates/en
systemd-with-workers
.sample_config_header.yaml
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
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
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
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
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
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
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.)