-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Retry streaming exceptions (this time for sure, Rocky!) #4016
Retry streaming exceptions (this time for sure, Rocky!) #4016
Conversation
Tracks the 'resume_token', and issues restart after a 503.
Retry handling will be done behind the scenes.
After @vkedia says yes, I will start the process for a Spanner release. |
Thanks @lukesneeringer, @tseaver, and @jonparrott! |
spanner/tests/unit/test_snapshot.py
Outdated
LAST = ( | ||
self._make_item(3), | ||
) | ||
ITEMS = FIRST + SECOND + LAST |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
self.assertEqual(list(resumable), list(ITEMS)) | ||
restart.assert_called_once_with() | ||
|
||
def test_iteration_w_raw_raising_unavailable(self): |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Also, remove unused variable. Addresses: #4016 (comment) #4016 (comment)
Is this approved, @vkedia? |
Supersedes #3930.
Closes #3775.
/cc vkedia