This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Faster remote room joins: Support partial join re-syncing on workers other than the master #14544
Labels
A-Federated-Join
joins over federation generally suck
T-Enhancement
New features, changes in functionality, improvements in performance, or user-facing enhancements.
An enhancement of: #12994 (worker-mode support for Faster Remote Room Joins).
Instead of relying on the master to perform the re-syncing of the rooms, we should allow other workers to be involved.
Part of the difficulty is in choosing a worker to perform the re-sync for a room, ensuring that even after a crash/restart, exactly one worker will pick up the job of re-syncing that room again.
We should be mindful that in a hypothetical deployment, workers can be taken out of service — a room shouldn't be locked to one worker forever in case this happens, as that would mean the re-sync would never progress.
The text was updated successfully, but these errors were encountered: