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

Make the mempool's default_failovers=3 for VFN stability. #163

Merged
merged 2 commits into from
Feb 28, 2024

Conversation

misko9
Copy link
Contributor

@misko9 misko9 commented Feb 3, 2024

Diem tries to optimize VFNs by setting mempool's default_failovers to 0. I believe this is because it expects a VFN's validator to be up and if it is down, the default_failovers param doesn't apply anyways. Since well behaving validators can be dropped from the set due to PoF competition, we want to override this optimization and maintain failovers. 0L network had this param set to 3 before v6.9 and it should be maintained.

Diem tries to optimize VFNs by setting mempool's default_failovers to 0. I believe this is because it expects a VFN's validator to be up and if it is down, the default_failovers param doesn't apply anyways. Since well behaving validators can be dropped from the set due to PoF competition, we want to override this optimization and maintain failovers. 0L network had this param set to 3 before v6.9 and it should be maintained.
Copy link
Contributor

@sirouk sirouk left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@kalvkusk
Copy link
Contributor

@misko9 please pull in latest changes from main

@0o-de-lally 0o-de-lally merged commit 0b3ebea into 0LNetworkCommunity:main Feb 28, 2024
12 checks passed
0o-de-lally pushed a commit to 0o-de-lally/libra-framework that referenced this pull request Aug 16, 2024
0o-de-lally pushed a commit to 0o-de-lally/libra-framework that referenced this pull request Aug 16, 2024
0o-de-lally pushed a commit to 0o-de-lally/libra-framework that referenced this pull request Aug 16, 2024
0o-de-lally pushed a commit to 0o-de-lally/libra-framework that referenced this pull request Aug 16, 2024
0o-de-lally pushed a commit to 0o-de-lally/libra-framework that referenced this pull request Aug 16, 2024
0o-de-lally pushed a commit to 0o-de-lally/libra-framework that referenced this pull request Aug 17, 2024
0o-de-lally pushed a commit to 0o-de-lally/libra-framework that referenced this pull request Aug 17, 2024
0o-de-lally pushed a commit to 0o-de-lally/libra-framework that referenced this pull request Aug 17, 2024
0o-de-lally pushed a commit to 0o-de-lally/libra-framework that referenced this pull request Aug 17, 2024
0o-de-lally pushed a commit to 0o-de-lally/libra-framework that referenced this pull request Aug 17, 2024
0o-de-lally pushed a commit to 0o-de-lally/libra-framework that referenced this pull request Aug 17, 2024
0o-de-lally pushed a commit to 0o-de-lally/libra-framework that referenced this pull request Aug 17, 2024
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.

4 participants