-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
roachtest: added connection timeout to loq recovery ops #98851
Conversation
966ee6e
to
05ef750
Compare
When working with cluster that failed recovery, db connections could get stuck indefinitely preventing test completion. This is caused by driver ignoring context cancellation when attempting to establish connection. This commit adds a connect timeout option to the driver to prevent this behaviour. Epic: none Release note: None
05ef750
to
bba0750
Compare
bors r=tbg |
Build succeeded: |
We'll need a 23.1 backport as well, see #99529. blathers backport 23.1 |
blathers backport 22.2 |
Encountered an error creating backports. Some common things that can go wrong:
You might need to create your backport manually using the backport tool. error creating merge commit from bba0750 to blathers/backport-release-22.2-98851: POST https://api.github.com/repos/cockroachdb/cockroach/merges: 409 Merge conflict [] you may need to manually resolve merge conflicts with the backport tool. Backport to branch 22.2 failed. See errors above. 🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf. |
When working with cluster that failed recovery, db connections could get stuck indefinitely preventing test completion. This is caused by driver ignoring context cancellation when attempting to establish connection.
This commit adds a connect timeout option to the driver to prevent this behaviour.
Epic: none
Release note: None
Fixes #98639