Skip to content

Conversation

@hughcapet
Copy link
Member

Consider MaintenanceWindows only for pod migration

@hughcapet hughcapet added the architectural New features and architectural changes, e.g. framework changes, migrations, rollout of new services. label Jan 21, 2025
@hughcapet hughcapet force-pushed the fix/mainwindow-partial-revert branch 2 times, most recently from f5f730e to f66e30f Compare January 22, 2025 10:47
@hughcapet hughcapet force-pushed the fix/mainwindow-partial-revert branch from f66e30f to 604b760 Compare January 22, 2025 12:59
"""
def check_version():
p = k8s.patroni_rest("acid-upgrade-test-0", "")
p = k8s.patroni_rest("acid-upgrade-test-0", "") or {}
Copy link
Member

Choose a reason for hiding this comment

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

or {}?
I don't understand python sometimes

Copy link
Member Author

Choose a reason for hiding this comment

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

it can return None and then p.get("server_version", 0) will break everything with exception

or {} returns empty dict instead of None

@hughcapet hughcapet marked this pull request as ready for review January 23, 2025 09:16
@FxKu FxKu added this to the 1.15.0 milestone Jan 23, 2025
@hughcapet hughcapet force-pushed the fix/mainwindow-partial-revert branch from 5e0fc53 to e78dbe6 Compare January 23, 2025 13:57
@hughcapet
Copy link
Member Author

👍

1 similar comment
@FxKu
Copy link
Member

FxKu commented Jan 23, 2025

👍

@hughcapet hughcapet merged commit b0cfeb3 into master Jan 23, 2025
10 checks passed
@hughcapet hughcapet deleted the fix/mainwindow-partial-revert branch January 23, 2025 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

architectural New features and architectural changes, e.g. framework changes, migrations, rollout of new services.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants