Skip to content

Conversation

@cliff-openai
Copy link
Contributor

Without this PR, in cases where Cloud Spanner "forgets" a session (which does not happen often, but does happen), clients could see persistent errors along the lines of: status: 'Some requested entity was not found', self: \"Session not found: (session_id)\".

This change implements automatic session refresh in these cases. It is very heavily inspired by the way that the Cloud Spanner golang client handles these errors.

This PR is currently in Draft because I have not done enough testing yet, but I'm happy to take early feedback

Without this PR, in cases where Cloud Spanner "forgets" a session (which does not happen often, but does happen), clients could see persistent errors along the lines of: `status: 'Some requested entity was not found', self: \"Session not found: (session_id)\"`.

This change implements automatic session refresh in these cases. It is very heavily inspired by the way that the Cloud Spanner golang client handles these errors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant