google-cloud-python: Subscribe experimental doesn't appear to be retrying on retryable exceptions, also doesn't surface the error.
Full context at https://github.com/GoogleCloudPlatform/google-cloud-python/issues/4841#issuecomment-386988007 downwards.
gist with logs: https://gist.github.com/psalaberria002/e91956d94e82d706d65da7111a40ca24
Possible culprits:
send()andrecv()expectedly error onnext(self.call), but if that was a retryable error that somehow re-bubbled, it would not trigger any callbacks.bidiusesrpc._wrappedbecauseapi_coredoesn’t appropriately exposeadd_done_callback. This means that bidi unwraps all of the retry logic.
This doesn’t explain why retrying a perfectly normal looking error somehow still leads us to a broken stream, unless the newly opened stream also has an error. But it’s unclear why that wouldn’t happen when calling the initial RPC.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 43 (20 by maintainers)
hey thanks!
here is some new logs, I could reproduce the error three times, it’s much harder in DEBUG mode: 1.
Thanks, @jam182. let’s continue this over at #5444.
#5402 should address this. Standby for a release.