-
Notifications
You must be signed in to change notification settings - Fork 12
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: Add ability to enable Longhorn V2 Data Engine #55
Conversation
2b534d1
to
562f1ad
Compare
(Force push was to fix lint errors) |
562f1ad
to
2c3f8eb
Compare
Needed for harvester#55 Signed-off-by: Tim Serong <[email protected]>
I've opened #56 separately for the bump of go-common necessary to pick up |
Needed for #55 Signed-off-by: Tim Serong <[email protected]>
This pull request is now in conflict. Could you fix it @tserong? 🙏 |
Signed-off-by: Tim Serong <[email protected]>
2c3f8eb
to
5a62092
Compare
Rebased |
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.
LGTM, I didn't test this in my local env, only check the code.
The unit test part looks nice, thanks.
5a62092
to
49cf969
Compare
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.
overall LGTM, just would like to discuss some corner cases.
This allows adding extra stages to oem/99_settings.yaml, independently of the NTP settings. Signed-off-by: Tim Serong <[email protected]>
Signed-off-by: Tim Serong <[email protected]>
Related issue: harvester/harvester#5274 Signed-off-by: Tim Serong <[email protected]>
49cf969
to
c2ce0f2
Compare
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.
lgtm, thanks!
@Mergifyio backport v0.3.x |
✅ Backports have been created
|
Needed for #55 Signed-off-by: Tim Serong <[email protected]> (cherry picked from commit 0d0cfa2)
Needed for #55 Signed-off-by: Tim Serong <[email protected]> (cherry picked from commit 0d0cfa2)
This adds
longhornConfigs.enableV2DataEngine
to the node config CRD. When this value is set to true, we:It's probably easier to review this commit-by-commit, because I added some tests and did some refactoring first, to make sure I wasn't going to break the ntp config persistence.
Related issue: harvester/harvester#5274