-
Notifications
You must be signed in to change notification settings - Fork 6
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(CSI-247): implement InterfaceGroup.GetRandomIpAddress() #319
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Graphite Automations"Request reviewers once CI passes" took an action on this PR • (09/05/24)1 reviewer was added to this PR based on Sergey Berezansky's automation. |
sergeyberezansky
force-pushed
the
sergey/simplify-nfs-mounter
branch
from
September 5, 2024 09:09
5f5b338
to
2e3f570
Compare
sergeyberezansky
force-pushed
the
sergey/multi-ip-nfs
branch
from
September 5, 2024 09:09
b01ce5e
to
6d41434
Compare
sergeyberezansky
force-pushed
the
sergey/simplify-nfs-mounter
branch
from
September 5, 2024 09:37
2e3f570
to
8ec4141
Compare
sergeyberezansky
force-pushed
the
sergey/multi-ip-nfs
branch
from
September 5, 2024 09:37
6d41434
to
f4fd8aa
Compare
This was referenced Sep 11, 2024
Merged
sergeyberezansky
force-pushed
the
sergey/simplify-nfs-mounter
branch
from
September 11, 2024 10:11
8ec4141
to
3ff4398
Compare
sergeyberezansky
force-pushed
the
sergey/multi-ip-nfs
branch
from
September 11, 2024 10:11
f4fd8aa
to
86d2b73
Compare
sergeyberezansky
force-pushed
the
sergey/simplify-nfs-mounter
branch
from
September 11, 2024 11:11
3ff4398
to
14cd967
Compare
sergeyberezansky
force-pushed
the
sergey/multi-ip-nfs
branch
from
September 11, 2024 11:12
86d2b73
to
a94501a
Compare
sergeyberezansky
force-pushed
the
sergey/simplify-nfs-mounter
branch
from
September 11, 2024 11:35
14cd967
to
a71ebde
Compare
sergeyberezansky
force-pushed
the
sergey/multi-ip-nfs
branch
from
September 11, 2024 11:35
a94501a
to
17de623
Compare
sergeyberezansky
force-pushed
the
sergey/simplify-nfs-mounter
branch
from
September 11, 2024 11:51
a71ebde
to
055b17d
Compare
sergeyberezansky
force-pushed
the
sergey/multi-ip-nfs
branch
from
September 11, 2024 11:51
17de623
to
bc62036
Compare
sergeyberezansky
force-pushed
the
sergey/simplify-nfs-mounter
branch
from
September 11, 2024 13:02
055b17d
to
117c5f4
Compare
sergeyberezansky
force-pushed
the
sergey/multi-ip-nfs
branch
from
September 11, 2024 13:02
bc62036
to
b2c02ee
Compare
sergeyberezansky
force-pushed
the
sergey/simplify-nfs-mounter
branch
from
September 11, 2024 14:25
117c5f4
to
15d3ad8
Compare
sergeyberezansky
force-pushed
the
sergey/multi-ip-nfs
branch
from
September 11, 2024 14:25
b2c02ee
to
844dce9
Compare
Merge activity
|
sergeyberezansky
force-pushed
the
sergey/simplify-nfs-mounter
branch
from
September 12, 2024 12:00
15d3ad8
to
ae01e9c
Compare
sergeyberezansky
force-pushed
the
sergey/multi-ip-nfs
branch
from
September 12, 2024 12:00
844dce9
to
69edc7d
Compare
sergeyberezansky
force-pushed
the
sergey/simplify-nfs-mounter
branch
from
September 12, 2024 12:45
ae01e9c
to
3c596c3
Compare
sergeyberezansky
force-pushed
the
sergey/multi-ip-nfs
branch
from
September 12, 2024 12:45
69edc7d
to
92fb904
Compare
sergeyberezansky
force-pushed
the
sergey/simplify-nfs-mounter
branch
from
September 12, 2024 12:47
3c596c3
to
f0d1291
Compare
sergeyberezansky
force-pushed
the
sergey/multi-ip-nfs
branch
from
September 12, 2024 12:48
92fb904
to
77ab95a
Compare
sergeyberezansky
changed the base branch from
sergey/simplify-nfs-mounter
to
graphite-base/319
September 12, 2024 13:10
sergeyberezansky
force-pushed
the
sergey/multi-ip-nfs
branch
from
September 12, 2024 13:11
77ab95a
to
43c8d6a
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
TL;DR
Implemented random IP selection for NFS mounts and simplified mount reference counting.
What changed?
GetRandomIpAddress
method to theInterfaceGroup
struct, which selects a random IP address from the available IPs.GetNfsMountIp
to use the newGetRandomIpAddress
method instead ofGetIpAddress
.nfsMount
struct, including therefCount
field and associatedlock
.incRef
anddecRef
methods to always perform mount and unmount operations, respectively.How to test?
GetRandomIpAddress
method by calling it multiple times and verifying that different IPs are returned.Why make this change?
feat(CSI-247): implement InterfaceGroup.GetRandomIpAddress()
feat(CSI-247): optimize NFS by utilizing multiple targets