Automatic dialect detection returns DEADLINE_EXCEEDED if session creation fails #1759
Labels
api: spanner
Issues related to the googleapis/java-spanner API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
The automatic dialect detection will return a
DEADLINE_EXCEEDED
error if the session pool failed to create any sessions. This for example happens if the user has requested aDatabaseClient
for a database that does not exist, or that the user is not permitted to see. This is caused by the fact that the automatic dialect detection query is never triggered, as there is never any sessions being added to the pool.The text was updated successfully, but these errors were encountered: