Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
spanner: use a retry for Read/Write transactions
Create a customized GAX retryer that checks for any retry information that Cloud Spanner might have returned. If Cloud Spanner did not return any retry information, a default delay is calculated by GAX and used. Updates #1418 Change-Id: I56b9ab0bc4f64ad68f19edb9d18c89c3af7995d3 Reviewed-on: https://code-review.googlesource.com/c/gocloud/+/44172 Reviewed-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com> Reviewed-by: Jean de Klerk <deklerk@google.com>
- Loading branch information
Showing
3 changed files
with
74 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters