-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
spanner: Stop prepare sessions on error
The background process for preparing sessions for write transactions should stop on any server error except 'Session not found'. The process should automatically be re-enabled if a call to BeginTransaction succeeds. Fixes #1687. Change-Id: I1bcab4531f869da59ee0d9ecec3ecc2c419f9f72 Reviewed-on: https://code-review.googlesource.com/c/gocloud/+/49030 Reviewed-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Hengfeng Li <hengfeng@google.com> Reviewed-by: Jean de Klerk <deklerk@google.com>
- Loading branch information
Showing
3 changed files
with
119 additions
and
26 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