-
Notifications
You must be signed in to change notification settings - Fork 174
fix: Allow deleting orphans while retaining the data #3924
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
base: master
Are you sure you want to change the base?
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
b1707d1 to
4b3eeca
Compare
shuo-wu
left a comment
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.
Will Longhorn still try to delete the orphan automatically after a replica reuses its data directory?
@shuo-wu Yes the orphan will be deleted automatically, data stay. |
COLDTURNIP
left a comment
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
a918dca to
7a8e169
Compare
check for DeleteCustomResourceOnly label in orphan if label is set to true, skip data cleaning ref#11286 Signed-off-by: Nina Zhan <[email protected]>
check for DeleteCustomResourceOnly label in orphan when deciding whether to clean the data associated
longhorn/longhorn#11286
Which issue(s) this PR fixes:
Issue #11286
What this PR does / why we need it:
Special notes for your reviewer:
Additional documentation or context