-
Notifications
You must be signed in to change notification settings - Fork 153
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: detached volume replicas not evicted (backport #3293) #3304
Conversation
Cherry-pick of bb0a41d has failed:
To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally |
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
cc @c3y1huang |
longhorn/longhorn-9781 longhorn/longhorn-9857 Signed-off-by: Chin-Ya Huang <[email protected]> (cherry picked from commit bb0a41d)
200a117
to
15bbeb5
Compare
66482de
to
90b19e1
Compare
longhorn/longhorn-9809 longhorn/longhorn-9867 longhorn/longhorn-9781 longhorn/longhorn-9857 Signed-off-by: Chin-Ya Huang <[email protected]>
90b19e1
to
0e69b3f
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 @c3y1huang.
Which issue(s) this PR fixes:
Issue longhorn/longhorn#9781, longhorn/longhorn#9857
What this PR does / why we need it:
We need to allow the volume eviction controller to handle detached volumes. This proposes another approach to address longhorn/longhorn#9781: proceed with volume attachment for replica eviction only when suitable node/disk candidates are available.
Special notes for your reviewer:
Additional documentation or context
This is an automatic backport of pull request #3293 done by [Mergify](https://mergify.com).