Skip to content

Missing retry during ExecuteStreamingSql call in _restart_on_unavailable #1175

Open
@harshachinta

Description

@harshachinta

The _restart_on_unavailable method restarts an iteration in case of an UNAVAILABLE error. However, the initial RPC call for ExecuteStreamingSql/ExecuteStreamingRead to get the iterator may also fail with an UNAVAILABLE error, and this retry is not handled. Consequently, errors are surfaced to the customer where the intended behavior is to retry the requests.
One example of this issue is #1150

Metadata

Metadata

Assignees

Labels

api: spannerIssues related to the googleapis/python-spanner API.priority: p3Desirable enhancement or fix. May not be included in next release.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions