Skip to content

Conversation

@olavloite
Copy link

Fixes #5544

@olavloite olavloite requested a review from a team as a code owner July 2, 2019 15:06
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jul 2, 2019
@kolea2
Copy link
Contributor

kolea2 commented Jul 2, 2019

Hmm.. I thought the 250 ms was picked up by this PR: #5523. Is this still needed?

@olavloite
Copy link
Author

olavloite commented Jul 2, 2019

The 250ms is picked up for all timeouts for normal gRPC calls. It is not automatically picked up for the custom retry logic in the Spanner library that is still used for:

  • Retrying aborted transactions
  • Retrying broken streaming result sets

(I.e. the places referenced in this comment: #5544 (comment))

@kolea2
Copy link
Contributor

kolea2 commented Jul 2, 2019

Apologies, just read through the issue. I think this should be picked up automatically and we shouldn't rely on hardcoded constants - let's go back to the issue and figure out where that should go to work as expected.

Separately, can we move the session not found commit to a new PR?

@olavloite
Copy link
Author

I'll move the SessionNotFound issue into a separate PR. Closing this to continue the discussion in the original issue.

@olavloite olavloite closed this Jul 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Spanner: Adjust timeouts for CreateDatabase and retries for other methods

3 participants