-
Notifications
You must be signed in to change notification settings - Fork 148
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: remove the logic that sets datalocality to disable when v2 volume is created #3133
fix: remove the logic that sets datalocality to disable when v2 volume is created #3133
Conversation
e26e386
to
d3c77ab
Compare
@hookak BTW, are you using v2 volumes in your environment? |
d3c77ab
to
af1fc49
Compare
Thanks, the data locality feature is important for our purposes. We are looking for high-performance block storage, and the v2 volume is one of the options we're considering. We are testing its functionality and performance. The most important thing is whether we can operate this system reliably at a production level, but we haven't found a good example of that yet. We are still not very familiar with Longhorn, especially the v2 volumes, so if there are any considerations we should be aware of, it would be great if you could let us know. @derekbit |
cf68998
to
109cd48
Compare
Hello @hookak Need to remove https://github.com/longhorn/longhorn-manager/blob/master/webhook/resources/volume/validator.go#L269-L273 as well. After the removal, we can merge the PR. Thank you. |
109cd48
to
fe8bea7
Compare
…e is created Signed-off-by: jinhong.kim0 <jinhong.kim0@navercorp.com>
fe8bea7
to
4bc31e2
Compare
Hello, @derekbit I have also removed the logic from the volume validator(https://github.com/longhorn/longhorn-manager/blob/master/webhook/resources/volume/validator.go#L269-L273) |
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
Merged. Thanks for your contribution @hookak. ;) |
@hookak thanks for the contribution! |
Which issue(s) this PR fixes:
longhorn/longhorn#9280
longhorn/longhorn#9371
What this PR does / why we need it:
when a Longhorn engine v2 volume is created, the
dataLocality
field is always set todisable
by the volume mutator in the webhook. To allow the use of differentdataLocality
settings for engine v2 volumes, this behavior should be removed.Special notes for your reviewer:
Additional documentation or context