Skip to content
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

bugfix: upgrades not running #1939

Merged
merged 1 commit into from
Jan 12, 2024

Conversation

pjuarezd
Copy link
Member

@pjuarezd pjuarezd commented Jan 11, 2024

In the past we used to run all upgrades when the .status.syncVersion field was empty, after change introduced on #1512 we are conscidering this field being empty as an indicator that the tenant is "brand new".

6701b4f#diff-1657476cde2d3b4184231b8d4ce3cb4db7615db642cf329dcb314db0ce190fe6R66

That comes with a problem: no upgrade ever will run on tenants created after v5.0.0 was released, so if we publish a new Upgrade, it will not run, ever.

This fix approach is to set .status.syncVersion (when empty) with the latest published upgrade, right now "v5.0.0" so that future upgrades can actually run

Signed-off-by: pjuarezd <pjuarezd@users.noreply.github.com>
@pjuarezd pjuarezd changed the title bugfix: upgrades no running bugfix: upgrades not running Jan 11, 2024
Copy link
Contributor

@shtripat shtripat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@pjuarezd pjuarezd merged commit fbef9f1 into minio:master Jan 12, 2024
25 checks passed
@pjuarezd pjuarezd deleted the bugfix-upgrades-not-running branch January 12, 2024 04:55
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.

None yet

3 participants