mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-24 06:09:23 -05:00
8de3703d21
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. |
||
---|---|---|
.. | ||
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 | ||
consent_tracking.md | ||
delegate.md | ||
federate.md | ||
jwt.md | ||
log_contexts.md | ||
manhole.md | ||
media_repository.md | ||
message_retention_policies.md | ||
metrics-howto.md | ||
MSC1711_certificates_FAQ.md | ||
openid.md | ||
opentracing.md | ||
password_auth_providers.md | ||
postgres.md | ||
README.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 | ||
turn-howto.md | ||
url_previews.md | ||
user_directory.md | ||
workers.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.)