Skip to content

Change wait_select default timeout to 10 seconds#127

Closed
orange-kao wants to merge 1 commit intoAiven-Open:mainfrom
orange-kao:orange-select-wait-timeout
Closed

Change wait_select default timeout to 10 seconds#127
orange-kao wants to merge 1 commit intoAiven-Open:mainfrom
orange-kao:orange-select-wait-timeout

Conversation

@orange-kao
Copy link
Contributor

Default timeout of wait_select was 5 seconds. When a node in google-europe-north1 need to observe a PG in upcloud-sg-sin, will result in PglookoutTimeout.

This commit increase wait_select default timeout to 10 seconds.

Default timeout of wait_select was 5 seconds. When a node in
google-europe-north1 need to observe a PG in upcloud-sg-sin, will result
in PglookoutTimeout.

This commit increase wait_select default timeout to 10 seconds.


def wait_select(conn, timeout=5.0):
def wait_select(conn, timeout=10.0):
Copy link

Choose a reason for hiding this comment

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

Let's bump this to 15s: https://aiven.atlassian.net/browse/PM-5174 required > 12s timeout. Eventually, this should be configurable or exponential backoff retrying instead of constantly staying put.

@orange-kao
Copy link
Contributor Author

I am closing this PR because we found that the root cause is excessive packet loss on the VPN between these two sites. The issue is fixed after fixing VPN configuration.

@orange-kao orange-kao closed this Jul 16, 2025
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.

2 participants