Automatic dialect detection returns DEADLINE_EXCEEDED if session creation fails · Issue #1759 · googleapis/java-spanner (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

@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.