Skip to content

Automatic dialect detection returns DEADLINE_EXCEEDED if session creation fails #1759

@olavloite

Description

@olavloite

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 a DatabaseClient 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.

Metadata

Metadata

Assignees

Labels

api: spannerIssues related to the googleapis/java-spanner API.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions