This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Requests that modify push rules cannot be routed to workers #13382
Labels
A-Push
Issues related to push/notifications
A-Workers
Problems related to running Synapse in Worker Mode (or replication)
T-Enhancement
New features, changes in functionality, improvements in performance, or user-facing enhancements.
#5063 allowed worker processes to service read-only push rule-related endpoints. This is an issue to track the remaining push rule-related endpoints that require writes.
The following endpoints cannot yet be routed to worker processes:
PUT /_matrix/client/v3/pushrules/{scope}/{kind}/{ruleId}
DELETE /_matrix/client/v3/pushrules/{scope}/{kind}/{ruleId}
PUT /_matrix/client/v3/pushrules/{scope}/{kind}/{ruleId}/actions
PUT /_matrix/client/v3/pushrules/{scope}/{kind}/{ruleId}/enabled
I believe this hinges on converting the push rules stream to use a MultiWriterIdGenerator, instead of what we have today?
synapse/synapse/storage/databases/main/push_rule.py
Lines 132 to 139 in 0d1d3e0
We did a similar piece of work for moving presence off of the main process.
The text was updated successfully, but these errors were encountered: