MatrixSynapse/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
CAPTCHA_SETUP.md
MSC1711_certificates_FAQ.md
README.md
ancient_architecture_notes.md
application_services.md
architecture.md
code_style.md
consent_tracking.md
delegate.md
federate.md
jwt.md
log_contexts.md
manhole.md
media_repository.md
message_retention_policies.md
metrics-howto.md
openid.md
opentracing.md
password_auth_providers.md
postgres.md
replication.md
reverse_proxy.md
room_and_user_statistics.md
sample_config.yaml
sample_log_config.yaml
server_notices.md
spam_checker.md
sso_mapping_providers.md
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

README.md

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.)