Skip to content
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

feat(rotation): graceful role rotation #1008

Open
mtsitrin opened this issue Aug 12, 2024 · 3 comments · May be fixed by #1154
Open

feat(rotation): graceful role rotation #1008

mtsitrin opened this issue Aug 12, 2024 · 3 comments · May be fixed by #1154
Assignees
Labels

Comments

@mtsitrin
Copy link
Contributor

mtsitrin commented Aug 12, 2024

graceful role rotation (node->sequencer, sequencer->node)

  • UpdateProposerFromBlock for a node->proposer
  • handleRotationReq for a propsoer->node

also should handle halted -> non halted change for both node and sequencer

@mtsitrin
Copy link
Contributor Author

I though about the following:
sets of workers:

  • sync - syncing workers (p2p, da, etc..)
  • produce - produce + submit workers

Than:

  • full nodes will run sync workers
  • every bonded sequncer will run - produce + sync
    • if the node is the the proposer: produce enabled, sync disabled
    • if it just bonded sequencer: produce disabled, sync enabled

bonded sequencer will monitor role rotation, which will toggle the enable/disable of the workers set

changing from node to bonded sequencer will require reboot (which I think it's fine. especially for now)

@danwt danwt added the security label Aug 22, 2024
@danwt
Copy link
Contributor

danwt commented Aug 29, 2024

Could you clarify what is meant by UpdateProposerFromBlock?

@danwt
Copy link
Contributor

danwt commented Aug 29, 2024

As I understand the purpose of this issue is to remove panic and reboots?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants