-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Make leaders restartable #310
Comments
I think we should move elections into 0.8.0, focus on validators restarting. just have one public hard coded leader. |
by "election", do we mean "finality", or leader transfer? |
leader ranking. pick a seed to rank them. we can "secure" the seed with a vdf later |
it seems to me that leader ranking goes on all the time, and that it'd be safe to persist anything that's pre-most recent finality... @carllin and I discussed this yesterday, weren't sure how to proceed. I think restart is a bad option, given how long that takes. |
You can persist the seed for more then 1 round
On Thu, Sep 6, 2018 at 12:54 PM Rob Walker ***@***.***> wrote:
it seems to me that leader ranking goes on all the time, and that it'd be
safe to persist anything that's pre-most recent finality... @carllin
<https://github.com/carllin> and I discussed this yesterday, weren't sure
how to proceed. I think restart is a bad option, given how long that takes.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#310 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA-ztsWtsVgPsWMIl_mo5N6hvNGnJ3Xbks5uYX1ZgaJpZM4UZYuS>
.
|
Interesting point Rob. So maybe this ticket should be very different. Something like: leader should periodically cache its list of live validators such that if it crashes, it can restart and query one of those validators for the new leader. The request should include the old leader's Pubkey to let the validator know it can no longer serve as leader (in case, the network hadn't figured that out yet). |
This ticket is unassigned a week before 0.8 release, and implementation strategy is not clear. Removing the milestone target for now. |
this is obsolete since the forking ledger (db_ledger), which allows any number of forks to co-exist in the ledger, and allows fork-selection to be performed from a persistent store also: leader selection is deterministic on bank state (stakes) |
…ench-tps`, `dos/`, `LocalCluster`, `gossip/` (anza-xyz#310) * switch over to solana-tpu-client for bench-tps, dos, gossip, local-cluster * put TpuClientWrapper back in solana_client
Postpone writing any entries to the log file until the election completes. Instead only broadcast them to validators. If the election decides the block is invalid, the leader has the option to simply restart.
The text was updated successfully, but these errors were encountered: