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(sysctl): add controls for enabling/disabling sync versions #869

Merged
merged 1 commit into from
Nov 10, 2023

Conversation

jansegre
Copy link
Member

Motivation

If during the sync-v2 trial period we end up in a situation where sync-v2 fails to advance, working around this would require at the very least a node restart, but usually in practice a re-deploy. With this change it is now possible to enable sync-v1 and disable sync-v2 in runtime without restarting a node.

Acceptance Criteria

  • Add sysctl controls p2p.available_sync_versions (readonly) and p2p.enabled_sync_versions (read-write)

Checklist

  • If you are requesting a merge into master, confirm this code is production-ready and can be included in future releases as soon as it gets merged

@jansegre jansegre requested a review from glevco November 10, 2023 22:59
@jansegre jansegre self-assigned this Nov 10, 2023
@jansegre jansegre requested a review from msbrogli as a code owner November 10, 2023 22:59
@jansegre jansegre merged commit dde78a2 into master Nov 10, 2023
6 of 8 checks passed
@jansegre jansegre deleted the feat/sysctl-enable-sync-version branch November 10, 2023 23:20
@jansegre jansegre mentioned this pull request Nov 13, 2023
2 tasks
This was referenced Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants