How to specify Spanner connect timeout?
See original GitHub issueIf the client has some kind of network issue connecting to Spanner, it seems to hang indefinitely. Is there a way to specify the timeout? I don’t see anything in SpannerOptions
.
Issue Analytics
- State:
- Created 5 years ago
- Comments:17 (1 by maintainers)
Top Results From Across the Web
Configuring custom timeouts and retries | Cloud Spanner
This page shows you how to override the default timeout configuration and how to configure a retry policy using the Spanner client libraries....
Read more >Why read-only transaction timeouts in Spanner?
I am trying to run some complex SQL queries on Google Cloud Spanner to evaluate its analytical perfomance. I've ...
Read more >-timeout flag doesn't work for "gcloud spanner databases ...
When run the command gcloud spanner databases execute-sql --timeout=30m , the underlying request still has a RPC timeout setting as 5 ...
Read more >Google Cloud Spanner Writer Parameters - Safe Software
This parameter defines the time, in seconds, after which a query will be terminated if it has not yet returned a result. If...
Read more >CData Cmdlets for Google Spanner - Timeout Parameter (Connect ...
The value in seconds until the timeout error is thrown, canceling the operation. Syntax. Connect-GoogleSpanner -Timeout int. Remarks.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@olavloite I will open a new issue about this problem. Thanks a lot.
@FengnaLiu
That is strange. Would you mind opening a new issue in https://github.com/googleapis/java-spanner/issues for this problem? That makes it easier for others to also chime in if they have any ideas, and to track the progress of this specific problem.