F #7662: preserve rollback path for recover success#7682
Closed
ktfh-claw wants to merge 1 commit into
Closed
Conversation
Author
|
Fresh clean-lab validation result for this patch: I reran the migration/recovery test in a new isolated two-hypervisor disposable runtime instead of relying only on the earlier lab. Environment:
Controlled repro in the fresh lab:
Patched behavior check:
So the important assertion held again in a fresh clean two-host runtime: |
This file contains hidden or 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
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.
Summary
recover --successonPROLOG_MIGRATE_*_FAILUREstates as a direct boot/deploy success pathRationale
PROLOG_MIGRATE_*_FAILUREalready means the transfer-manager prolog migration failed.Calling
recover --successfrom those states should not skip straight into boot/deploy as if the destination-side prolog had succeeded. The existingtrigger_prolog_failure()path already performs the rollback/history handling for these migration failure states, so this change reuses that logic.Validation
git diff --checkscons mysql=yes grpc=yes systemd=yes rubygems=yes -j32build on Ubuntu build VMNotes
I did not replace the running disposable 7.2.0 lab with this branch because the patch was built from current
master(7.3.80.pre), and forcing a master build over that package-based lab would create unnecessary version skew during validation.