Change wait_select default timeout to 10 seconds#127
Closed
orange-kao wants to merge 1 commit intoAiven-Open:mainfrom
Closed
Change wait_select default timeout to 10 seconds#127orange-kao wants to merge 1 commit intoAiven-Open:mainfrom
orange-kao wants to merge 1 commit intoAiven-Open:mainfrom
Conversation
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.
tkren
reviewed
Jul 3, 2025
|
|
||
|
|
||
| def wait_select(conn, timeout=5.0): | ||
| def wait_select(conn, timeout=10.0): |
There was a problem hiding this comment.
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.
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.