-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Re-design processor/coordinator interactions #565
Comments
I'm unsure we can get to this prior to mainnet :/// |
The ability to rebuild remains its own active question. |
The Processor, if rebuilding, should be able to reset the message-queue's counter and simply re-read the full event stream. The once concern is if the old Processor sent preprocesses, and then the new Processor sent preprocesses (de-duplicated), and then the new Processor sent signature shares. We'd need to mark all in-process signing attempts as invalid. The Coordinator, if rebuilding, has to wait for a new Tendermint block and only start participating then. The Coordinator only needs to handle If both are rebuilding, it should be the existing commentary, but with the option to reset the message-queue's message history entirely. |
Provided transactions announcing a Batch occur by receiving a preprocess from the Processor for that Batch. The above commentary is inaccurate accordingly. |
The current message queue is an interactive ordered process not amenable to rebuilding one but not both.
Interactions should be designed as an append-only series of data blobs queriable at any time in a way either can successfully be rebuilt. This would also parallelize the ordering, improving performance and preventing the risk of deadlocks.
The text was updated successfully, but these errors were encountered: