Avoid (potential) infinite reconnect loops in reader module #219
Labels
api: bigquerystorage
Issues related to the googleapis/python-bigquery-storage API.
status: will not fix
Invalid (untrue/unsound/erroneous), inconsistent with product, not on roadmap.
type: process
A process-related concern. May include testing, release, or the like.
Currently we always reconnect on "RST_STREAM" errors:
python-bigquery-storage/google/cloud/bigquery_storage_v1/reader.py
Lines 147 to 151 in 7e4224e
This may cause some infinite loops, especially if we add other errors such as UNAUTHENTICATED to the stream resumption logic to support customer issue 191460918. Pub/Sub and Firestore have already solved this with the shared BiDi (bi-directional) classes.
Resources:
The text was updated successfully, but these errors were encountered: