mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2026-03-29 16:09:46 +00:00
matrix-synapse: route stream-backed client endpoints explicitly and add device_lists stream writer support
Some client API endpoints (e.g. keys/upload) are backed by Synapse stream writers and should not rely on broad worker regexes or route-order fallthrough for correctness. When explicit per-stream routing is missing, requests may be captured by generic, room, or client_reader workers, instead of: - going to the configured stream writer - or to `main` when that stream writer is not enabled This refactors synapse-reverse-proxy-companion's routing so that web-facing stream-backed endpoint families are handled explicitly and early, with deterministic writer-or-main fallback. Add first-class support for the missing `device_lists` stream writer, generalize the same routing model to `push_rules`, and remove stale broad-route ownership for device-list-sensitive endpoints.
This commit is contained in:
@@ -149,6 +149,7 @@
|
||||
- "matrix_synapse_workers_stream_writer_account_data_stream_workers_count"
|
||||
- "matrix_synapse_workers_stream_writer_receipts_stream_workers_count"
|
||||
- "matrix_synapse_workers_stream_writer_presence_stream_workers_count"
|
||||
- "matrix_synapse_workers_stream_writer_push_rules_stream_workers_count"
|
||||
|
||||
- name: Fail when mixing generic workers with new specialized workers
|
||||
ansible.builtin.fail:
|
||||
|
||||
Reference in New Issue
Block a user