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

Fix display state of PostgreSQL resources #1546

Merged
merged 1 commit into from May 6, 2024
Merged

Conversation

byucesoy
Copy link
Member

@byucesoy byucesoy commented May 3, 2024

We used to just check the label of PostgresResource's own strand. However, the state of representative server is also important, especially at the time of it being unavailable. This commit fixes the display state of PostgreSQL resources by checking the state of the representative server as well.

While doing so, I found another case of wrong display state, while refreshing the dns records, which is also fixed in this commit.

@byucesoy byucesoy requested a review from a team May 3, 2024 21:46
@byucesoy byucesoy self-assigned this May 3, 2024
@byucesoy byucesoy force-pushed the fix-display-state branch 2 times, most recently from c7ca0ba to affff7b Compare May 3, 2024 22:51
@byucesoy byucesoy force-pushed the fix-display-state branch 2 times, most recently from 4edc645 to dae99d6 Compare May 6, 2024 11:11
We used to just check the label of PostgresResource's own strand. However, the
state of representative server is also important, especially at the time of it
being unavailable. This commit fixes the display state of PostgreSQL resources
by checking the state of the representative server as well.

While doing so, I found another case of wrong display state, while refreshing
the dns records, which is also fixed in this commit.
@byucesoy byucesoy merged commit d4b0012 into main May 6, 2024
6 checks passed
@byucesoy byucesoy deleted the fix-display-state branch May 6, 2024 11:18
@github-actions github-actions bot locked and limited conversation to collaborators May 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants