GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: resume iterator on EOS internal error by larkee · Pull Request #122 · googleapis/python-spanner

This repository was archived by the owner on Jun 8, 2026. It is now read-only.

Conversation

@larkee

@larkee larkee commented Aug 4, 2020

Copy link
Copy Markdown
Contributor

Fixes #120

This fixes the same issue as googleapis/java-spanner#360.

A similar issue was encountered by bigquery-storage and was fixed in googleapis/google-cloud-python#9994.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@larkee
larkee requested review from a team, crwilcox and thiagotnunes August 4, 2020 05:03
@larkee larkee self-assigned this Aug 4, 2020
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Aug 4, 2020
hengfengli
hengfengli reviewed Aug 4, 2020
View reviewed changes

@hengfengli hengfengli left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need to add retry for "Received unexpected EOS on DATA frame from server" error message as well.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

thiagotnunes reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@larkee
larkee requested a review from hengfengli August 7, 2020 12:13
hengfengli
hengfengli reviewed Aug 7, 2020
View reviewed changes
Comment thread google/cloud/spanner_v1/snapshot.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@thiagotnunes

thiagotnunes commented Aug 10, 2020

Copy link
Copy Markdown
Contributor

@larkee thanks for the fix, I will test it out with a long running PDML to make sure everything we need is in place!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

tseaver
tseaver previously requested changes Aug 14, 2020
View reviewed changes

@tseaver tseaver left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change really needs unit test coverage: I'm not sure why the Kokoro build is passing without it.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread google/cloud/spanner_v1/snapshot.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@thiagotnunes

thiagotnunes commented Aug 20, 2020

Copy link
Copy Markdown
Contributor

@larkee Quick update, the PDML long running task finished successfully in production testing. Thanks for fixing this!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

larkee added 3 commits August 21, 2020 11:58
@larkee
fix: resume iterator on EOS internal error
cc1cd27
@larkee
fix: add additional stream resumption message
a572c2f
@larkee
test: add unit tests
2036af9
@larkee
larkee force-pushed the retry-pdml branch from d72bf97 to 2036af9 Compare August 21, 2020 05:43
@product-auto-label product-auto-label Bot added the api: spanner Issues related to the googleapis/python-spanner API. label Aug 21, 2020
larkee and others added 2 commits August 24, 2020 11:38
@larkee
Merge branch 'master' into retry-pdml
7eaf874
@larkee @tseaver
Apply suggestions from code review
5994882
Co-authored-by: Tres Seaver <[email protected]>
@google-cla

google-cla Bot commented Aug 24, 2020

Copy link
Copy Markdown

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@google-cla google-cla Bot added cla: no This human has *not* signed the Contributor License Agreement. and removed cla: yes This human has signed the Contributor License Agreement. labels Aug 24, 2020
@larkee
larkee requested a review from tseaver August 24, 2020 07:03
@larkee larkee added cla: yes This human has signed the Contributor License Agreement. and removed cla: no This human has *not* signed the Contributor License Agreement. labels Aug 24, 2020
@larkee
larkee dismissed tseaver’s stale review August 25, 2020 01:41

The unit test coverage is back to 100% for all files touched by this change.

@larkee
larkee requested a review from hengfengli August 25, 2020 01:41
hengfengli
hengfengli approved these changes Aug 25, 2020
View reviewed changes

@hengfengli hengfengli left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. 👍

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
thiagotnunes
thiagotnunes approved these changes Aug 25, 2020
View reviewed changes
@larkee
larkee merged commit 45a1538 into googleapis:master Aug 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

@crwilcox crwilcox Awaiting requested review from crwilcox
@tseaver tseaver Awaiting requested review from tseaver
2 more reviewers
@thiagotnunes thiagotnunes thiagotnunes approved these changes
@hengfengli hengfengli hengfengli approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@larkee larkee

Labels

api: spanner Issues related to the googleapis/python-spanner API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

spanner-client: Retry PDML on "Received unexpected EOS on DATA frame from server"

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@larkee @thiagotnunes @tseaver @hengfengli
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.