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

Don't reset the last reconciled generation #2073

Merged

Conversation

johscheuer
Copy link
Member

Description

Fixes: #873

Type of change

Please select one of the options below.

  • New feature (non-breaking change which adds functionality)

Discussion

Before that we would reset the generation to 0 which can be confusing in many cases when the reconciliation drops from a precious number to 0.

Testing

Ran unit tests and an e2e test suite.

Documentation

Not needed.

Follow-up

@foundationdb-ci
Copy link

Result of fdb-kubernetes-operator-pr on Linux CentOS 7

  • Commit ID: a93d80d
  • Duration 2:32:53
  • Result: ❌ FAILED
  • Error: Error while executing command: if $fail_test; then exit 1; fi. Reason: exit status 1
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@johscheuer johscheuer closed this Jun 20, 2024
@johscheuer johscheuer reopened this Jun 20, 2024
@foundationdb-ci
Copy link

Result of fdb-kubernetes-operator-pr on Linux CentOS 7

  • Commit ID: a93d80d
  • Duration 2:37:25
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

Copy link
Contributor

@nicmorales9 nicmorales9 left a comment

Choose a reason for hiding this comment

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

Changes look good to me though it feels like it should not close the linked issue as it does not add the observedGenerations nor Conditions. If this is intentional, an explanation on the issue would be good

@johscheuer
Copy link
Member Author

Changes look good to me though it feels like it should not close the linked issue as it does not add the observedGenerations nor Conditions. If this is intentional, an explanation on the issue would be good

For the conditions we have a dedicated issue: #1000. Adding the observedGeneration didn't seem to bring a huge value in this context.

@johscheuer johscheuer merged commit 409c140 into FoundationDB:main Jun 24, 2024
15 checks passed
@johscheuer johscheuer deleted the dont-reset-status-generation branch June 24, 2024 11:31
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.

Proposal for a different way to track reconciliation progress
3 participants