Title: Cloud spanner client does not seem to be retrying broken streams · Issue #3775 · googleapis/google-cloud-python · GitHub
Open Graph Title: Cloud spanner client does not seem to be retrying broken streams · Issue #3775 · googleapis/google-cloud-python
X Title: Cloud spanner client does not seem to be retrying broken streams · Issue #3775 · googleapis/google-cloud-python
Description: Documentation for snapshot transactions mentions: If streaming a chunk fails due to a “resumable” error, Session.read() retries the StreamingRead API reqeust, passing the resume_token from the last partial result streamed. This is the co...
Open Graph Description: Documentation for snapshot transactions mentions: If streaming a chunk fails due to a “resumable” error, Session.read() retries the StreamingRead API reqeust, passing the resume_token from the last...
X Description: Documentation for snapshot transactions mentions: If streaming a chunk fails due to a “resumable” error, Session.read() retries the StreamingRead API reqeust, passing the resume_token from the last...
Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/3775
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Cloud spanner client does not seem to be retrying broken streams","articleBody":"[Documentation](http://google-cloud-python.readthedocs.io/en/latest/spanner/snapshot-usage.html) for snapshot transactions mentions:\r\n\r\n```\r\nIf streaming a chunk fails due to a “resumable” error, Session.read() retries the StreamingRead API reqeust, passing the resume_token from the last partial result streamed.\r\n```\r\n\r\nThis is the correct thing to do but the client actually does not seem to be doing this. I looked around a little bit in the code and I could find anyplace where it is retrying the read with the resume token. \r\nThis is the place where the stream would throw an error if it broke:\r\nhttps://github.com/GoogleCloudPlatform/google-cloud-python/blob/9d9b6c0708ae6553458ad6107e5ad8efb23762e8/spanner/google/cloud/spanner/streamed.py#L132\r\n\r\n I dont see any exception handling happening here and it looks like that the error would just be propagated back to the user.","author":{"url":"https://github.com/vkedia","@type":"Person","name":"vkedia"},"datePublished":"2017-08-09T17:47:13.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":39},"url":"https://github.com/3775/google-cloud-python/issues/3775"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b38dd0e5-1866-f207-611c-6e2c1b053707 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AA04:89EF1:9249FC:C61E61:6A4D6F0D |
| html-safe-nonce | 4cccb12c318c86aae8354220219459e6bc4123f2708423f76cec98befc575415 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQTA0Ojg5RUYxOjkyNDlGQzpDNjFFNjE6NkE0RDZGMEQiLCJ2aXNpdG9yX2lkIjoiMzM5NDI5ODg4MTg1MjE0MTMyNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 661ba29b637436a94d5dfaa8112109ad70ce666798ed84abef3b0b796130c08d |
| hovercard-subject-tag | issue:249108990 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/google-cloud-python/3775/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fc58eef569911167e24eb2d5f3ad9bcc6557fabe01e03f23dbffe356fe4f276c/googleapis/google-cloud-python/issues/3775 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fc58eef569911167e24eb2d5f3ad9bcc6557fabe01e03f23dbffe356fe4f276c/googleapis/google-cloud-python/issues/3775 |
| og:image:alt | Documentation for snapshot transactions mentions: If streaming a chunk fails due to a “resumable” error, Session.read() retries the StreamingRead API reqeust, passing the resume_token from the last... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vkedia |
| hostname | github.com |
| expected-hostname | github.com |
| None | c78260c7b3f4ac4b0356c8208537f05406a3a2d46a9ec3f735b372dcc519c39e |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/google-cloud-python git https://github.com/googleapis/google-cloud-python.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 16316451 |
| octolytics-dimension-repository_nwo | googleapis/google-cloud-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 16316451 |
| octolytics-dimension-repository_network_root_nwo | googleapis/google-cloud-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 399fff412f48461d435721c009efc17ea44be72f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width