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

Allow setting upgrades at a ledger number #2207

Closed

Conversation

marta-lokhova
Copy link
Contributor

This PR ensures we can upgrade at a particular ledger number. Specifically, it is useful in the context of bucketlist-related upgrades, as we can select the ledger, that is right after any large merge spills, to avoid stalling the network.

@graydon
Copy link
Contributor

graydon commented Jul 25, 2019

This is cool! I somehow thought that upgrade targets were surfaced in the XDR and this was going to take a protocol change, but it looks much easier! Hurray!

Copy link
Contributor

@graydon graydon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly looks good! Except for exclusivity-of-state issue, which .. if you want to defer / are in a rush, I can accept as-is, but I'd prefer to see it made robust against that class of misuse (especially since it means potentially doing an upgrade at the wrong time in the field: serious symptom if it ever happens!)

src/herder/Upgrades.h Outdated Show resolved Hide resolved
@MonsieurNicolas MonsieurNicolas added this to In progress in v12.0.0 via automation Aug 9, 2019
@marta-lokhova
Copy link
Contributor Author

Not required for protocol 12 anymore, but we should revive this PR if we ever want to have this functionality.

v12.0.0 automation moved this from In progress to Done Sep 17, 2019
@MonsieurNicolas MonsieurNicolas removed this from Done in v12.0.0 Sep 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants