Missing retry during ExecuteStreamingSql call in _restart_on_unavailable #1175
Labels
api: spanner
Issues related to the googleapis/python-spanner API.
priority: p3
Desirable enhancement or fix. May not be included in next release.
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 anUNAVAILABLE
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
The text was updated successfully, but these errors were encountered: