-
Notifications
You must be signed in to change notification settings - Fork 20
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
controller: improve the mechanism of disk removing (backport #102) #106
Conversation
introduce the executor to v0.6.x for this backport. |
- that we can drop some dependency Signed-off-by: Vicente Cheng <[email protected]> (cherry picked from commit caaaf6b)
Signed-off-by: Vicente Cheng <[email protected]> (cherry picked from commit ab2c939)
- We should not skip the inactive/corrupted device by removing op - Improve the order of onChange. Now, we will handle the removal first and the addition/update later. That helps the logic be clarified. Signed-off-by: Vicente Cheng <[email protected]> (cherry picked from commit d699409)
Signed-off-by: Vicente Cheng <[email protected]> (cherry picked from commit 3a9b364)
- we need to remove the duplicated disk after we tested Signed-off-by: Vicente Cheng <[email protected]> (cherry picked from commit 61307c8)
Signed-off-by: Vicente Cheng <[email protected]> (cherry picked from commit 969ccdc)
edb71af
to
0df11a0
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.
Question (because I was diffing branches and playing with git cherry -v
to review this): should #100 also be backported to v0.6.x? AFAICT the two commits in that PR will be the only ones in master that aren't in v0.6.x once this PR is merged.
Yeah, we should backport the PR you mentioned. These two PRs are not related; I prefer to split them. Thanks! |
Problem:
When the disk is gone, we cannot remove it on Harvester UI.
That's a regression after we introduce the inactive/corrupted concept.
Solution:
Improve the removing disk mechanism.
Related Issue:
harvester/harvester#5726
Test plan:
Nice to Have:
This is an automatic backport of pull request controller: improve the mechanism of disk removing #102 done by Mergify.