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

[WIP][Consensus] Leader Election - Round Robin (secondary) #650

Open
9 tasks
Tracked by #890
jessicadaugherty opened this issue Apr 4, 2023 · 2 comments
Open
9 tasks
Tracked by #890
Assignees
Labels
consensus Consensus specific changes

Comments

@jessicadaugherty
Copy link
Contributor

jessicadaugherty commented Apr 4, 2023

Objective

Implement a secondary, round-robin leader election mechanism to be used when the primary VRF sortition with CDF fails to produce a value. This ensures that the consensus process continues even when the primary leader election method fails.

Origin Document

Primary Leader Election

V0 References:

V1 References:

Goals

  • Implement a fallback round-robin leader election mechanism that will be used when the primary VRF sortition with CDF fails.
  • Integrate the round-robin leader election into the existing consensus process seamlessly.

Deliverable

  • Design and implement the round-robin leader election mechanism
  • Modify the existing consensus process to use the round-robin leader election when the primary VRF sortition with CDF fails

Non-goals / Non-deliverables

  • Modifying the primary VRF sortition with CDF leader election process
  • Making round-robin the primary leader election mechanism

General issue deliverables

  • Update the appropriate CHANGELOG
  • Update any relevant READMEs (local and/or global)
  • Update any relevant global documentation & references
  • If applicable, update the source code tree explanation
  • If applicable, add or update a state, sequence or flowchart diagram using mermaid

Testing Methodology

  • All tests: make test_all
  • LocalNet: verify a LocalNet is still functioning correctly by following the instructions at docs/development/README.md

Creator: @jessicadaugherty

@jessicadaugherty jessicadaugherty converted this from a draft issue Apr 4, 2023
@jessicadaugherty jessicadaugherty added the consensus Consensus specific changes label Apr 4, 2023
@jessicadaugherty
Copy link
Contributor Author

This one is a little light as I couldn't find the code for reference in pocket core but ptal when you have a chance @Olshansk

@Olshansk
Copy link
Member

Olshansk commented Apr 6, 2023

This one is a little light as I couldn't find the code for reference in pocket core but ptal when you have a chance @Olshansk

Added

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
consensus Consensus specific changes
Projects
Status: Up Next
Development

No branches or pull requests

4 participants