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

Set the correct version for the SGCluster #274

Merged
merged 1 commit into from
Dec 3, 2024
Merged

Conversation

TheBigLee
Copy link
Member

@TheBigLee TheBigLee commented Nov 28, 2024

Summary

We need to ensure that the SGCluster always contains the "correct" version and that we don't override it with just a major version. The reason is, that Stackgres doesn't allow changing the version number in the SGCluster object. Since stackgres changes the version field during a minor upgrade, it won't be possible anymore to "revert" this change to a major version only setting.

Checklist

  • Categorize the PR by setting a good title and adding one of the labels:
    bug, enhancement, documentation, change, breaking, dependency
    as they show up in the changelog
  • Update tests.
  • Link this PR to related issues.

@TheBigLee TheBigLee requested a review from schemen November 28, 2024 12:13
@TheBigLee TheBigLee added the bug Something isn't working label Nov 28, 2024
@TheBigLee TheBigLee requested review from a team, Kidswiss, wejdross and zugao and removed request for schemen and a team November 28, 2024 13:05
@TheBigLee TheBigLee force-pushed the fix/scaling_pg_issue branch 2 times, most recently from 350ca17 to ac454f1 Compare November 28, 2024 13:49
We need to ensure that the SGCluster always contains the "correct"
version and that we don't override it with just a major version.
The reason is, that Stackgres doesn't allow changing the version number
in the `SGCluster` object. Since stackgres changes the version field
during a minor upgrade, it won't be possible anymore to "revert" this
change to a major version only setting.

Signed-off-by: Nicolas Bigler <nicolas.bigler@vshn.ch>
@TheBigLee TheBigLee force-pushed the fix/scaling_pg_issue branch from ac454f1 to 99ff753 Compare December 3, 2024 10:14
@TheBigLee TheBigLee merged commit 90a90f4 into master Dec 3, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working patch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants