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

[DB Upgrade] Fixing returned status and adding prints #1319

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

jackyalbo
Copy link
Contributor

@jackyalbo jackyalbo commented Mar 12, 2024

Explain the changes

  1. We returned a wrong state in case the init-container still is running and not yet completed.
    We returned State.String() which didn't just return Running but also printed some more info about the state.
    As we later in the code checks explicitly for Running we should return the correct state
  2. Added prints so we will know for sure what state the HasUpgradeDbContainerFailed function returned.
  3. Added events for the different phases of the upgrade procedure

Issues: Fixed #xxx / Gap #xxx

Testing Instructions:

  • Doc added/updated
  • Tests added

@jackyalbo jackyalbo merged commit 489d361 into noobaa:master Mar 12, 2024
13 checks passed
@jackyalbo jackyalbo deleted the jacky-try1 branch September 10, 2024 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants