Skip to content

reworked cleanup implementation for lvol migration - #1201

Merged
EbiRider merged 9 commits into
mainfrom
cleanup-logic-fix
Jul 31, 2026
Merged

reworked cleanup implementation for lvol migration#1201
EbiRider merged 9 commits into
mainfrom
cleanup-logic-fix

Conversation

@EbiRider

Copy link
Copy Markdown
Collaborator

due to recent changes on postponing data migration if lvol migration is in process cleanup logic needed to be reworked practically when it should be fired
once the invovled nodes gets down for any reason the cleanup logic should fire immediately and the migration be marked as FAILED this is important as to not stall any pending data migration, this comes at the cost of lvol migration ability to recover after crashes since migration isn't allowed to get suspended and starving both the data migration and other lvol migrations waiting for the pending data migration to finish instead the lvol migration needs to be attempted again later by the user or the operator
so now at first failure migration is cleaned up and declared as FAILED
the other fail cases will still consume retry budgets up MAX_RETRIES

@EbiRider
EbiRider marked this pull request as ready for review July 31, 2026 12:04
@EbiRider
EbiRider merged commit f033ba3 into main Jul 31, 2026
9 of 11 checks passed
@EbiRider
EbiRider deleted the cleanup-logic-fix branch July 31, 2026 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant