-
Notifications
You must be signed in to change notification settings - Fork 115
Fix revert commit for leader election #3136
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
Fix revert commit for leader election #3136
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## change/control-data-plane-split #3136 +/- ##
====================================================================
- Coverage 89.74% 79.57% -10.18%
====================================================================
Files 109 124 +15
Lines 11150 13470 +2320
Branches 50 62 +12
====================================================================
+ Hits 10007 10719 +712
- Misses 1083 2679 +1596
- Partials 60 72 +12 ☔ View full report in Codecov by Sentry. |
One thing to note is in the nginx provisioner, once NGF becomes leader it does not provision nginx if there was an existing gateway. @sjberman by reverting the leader election code there may be a little bit of refactoring of the NginxProvisioner. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should still be able to use the EnableAfterBecameLeader type like we did before Ben's work, and just call it twice for status updater and provisioner, since both have Enable functions.
@bjee19 I'll keep this in mind with my current work |
85c6f78
into
change/control-data-plane-split
* Add back runnables change and call to nginx provisioner enable --------- Co-authored-by: Benjamin Jee <[email protected]>
* Add back runnables change and call to nginx provisioner enable --------- Co-authored-by: Benjamin Jee <[email protected]>
* Add back runnables change and call to nginx provisioner enable --------- Co-authored-by: Benjamin Jee <[email protected]>
Fix revert commit for leader election story