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

HCU with feature-flag toggle #6568

Open
2 tasks
Tracked by #6563
j1010001 opened this issue Oct 16, 2024 · 1 comment
Open
2 tasks
Tracked by #6563

HCU with feature-flag toggle #6568

j1010001 opened this issue Oct 16, 2024 · 1 comment
Assignees

Comments

@j1010001
Copy link
Member

j1010001 commented Oct 16, 2024

Why

We propose to modify the HCU process for deploying small fixes (mainly security fixes) which provides 2 benefits:

  • Network upgrade can be performed with 0 downtime
  • Requires less coordination with node operators (node operators can roll out new version update at the time that suits them, within agreed time period)

Solution

We will create new build with new functionality behind a feature flag, using HCU version beacon. This feature flag can be toggled by the existing HCU Tx. This way the new version can be rolled-out with no change in node SW behaviour and the behaviour changes only after the nodes on the new version receive the version beacon event.
If a node operator does not upgrade to new version before the new version beacon is set via Tx, their node will stop as is the case with the existing HCU process.

After the node SW is switched to new version and feature flag is enabled via the version beacon Tx, the feature flag an be removed from the code.

Tasks

@bluesign
Copy link
Contributor

this seems pretty bad to apply to security fixes tbh.

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

No branches or pull requests

3 participants