8000 spanner: client library doesn’t handle a non-existent session error in all places · Issue #6422 · googleapis/google-cloud-java · GitHub
[go: up one dir, main page]

Skip to content 8000

spanner: client library doesn’t handle a non-existent session error in all places #6422

@skuruppu

Description

@skuruppu

We think that if the backend has closed the session, then the client is meant to create a new session and pass that to the user instead of letting this exception bubble up to the user.

WARNING: Error during call to readRow. [CONTEXT ratelimit_period="1 MINUTES" ]
com.google.cloud.spanner.SpannerException: NOT_FOUND: io.grpc.StatusRuntimeException: NOT_FOUND: Session not found: projects/<project>/instances/<instance>/databases/<database>/sessions/<session id>
resource_type: "type.googleapis.com/google.spanner.v1.Session"
resource_name: "projects/<project>/instances/<instance>/databases/<database>/sessions/<session id>"
description: "Session does not exist."

Metadata

Metadata

Assignees

Labels

api: spannerIssues related to the Spanner API.triage meI really want to be triaged.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

    0