Skip to content

2025.1.1.0-b14

@vipul-yb vipul-yb tagged this 23 Jun 06:25
Summary:
Previously, if a software upgrade task failed after promoting autoflags, YBA would incorrectly overwrite the stored autoflag version with the latest (potentially updated) version, instead of preserving the original version needed for rollback. This PR updates the logic to prevent storing the autoflag version again if it has already been stored, ensuring correct rollback behavior.
Original diff/commit: 6918d4074f5ceddbb9e86437f4a8b80678dd4941/D44908

Test Plan: Manually verified that software upgrade rollback functions correctly when the initial upgrade attempt fails after promoting autoflags and the upgrade succeeds on a retry.

Reviewers: svarshney, anabaria

Reviewed By: anabaria

Subscribers: yugaware

Differential Revision: https://phorge.dev.yugabyte.com/D44948
Assets 2
Loading