-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Faster joins: support worker-mode deployments #12994
Comments
Particular points of note:
|
|
There are a couple of things to resolve here:
Aside: in future we should consider moving the That still leaves us with the problem of making sure we resume the partial-state resync if the client reader that is currently processing it gets restarted (or, worse, turned off, never to return). Again following the example of incoming events: in that case, we kick off a processing job as soon as a worker discovers itself to be a "federation inbound" worker by receiving a |
The bulk of this issue comes down to communicating un-partial-stating events and rooms between workers. In #12989 where we also need to communicate the un-partial-stating of a room, general consensus seems to be that we should have a new stream with its own numbering (NOT: complexifying the events stream) and include that in sync tokens. The above comment talks of a stream for un-partial-stated events. I think the two could probably be combined but I think it would be messier than just having two of them, frankly, so I propose we have two separate streams here. New issues for the streams: #14418 (events), #14419 (rooms). #14544 has been opened for the enhancement of allowing non-master workers to perform the partial room re-sync process. |
We consider this done as of #14752. |
Including:
The text was updated successfully, but these errors were encountered: