Skip to content

Transaction retries could timeout and propagate the Aborted error to the client application #1008

@olavloite

Description

@olavloite

Read/write transactions are automatically retried by the client library if the transaction is aborted by the backend. These retries use the backoff settings that are returned by the backend, or if no backoff settings are returned, the default backoff settings of the Rollback RPC. These default settings can however also cause transactions that are retried multiple times to fail with an Aborted error, if the total time that the retries are executed exceed the default total timeout of the Rollback RPC (30 seconds).

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