-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: race condition when opening multiple connections in parallel as …
…first action (#59) * fix: race condition when opening multiple connections in parallel as first action Fixes a potential race condition when the first action that a client application takes is to open multiple connections in parallel. Each of these connections will try to compile the client side statements the first time a statement is executed, but only one of them should be allowed to do so. The rest should wait for the compilation to finish. Also adds session configuration options to the connection string and caching of Spanner clients that use the exact same connection string. Fixes #58 * fix: add waitFor to MinSessions test * build: try with 45 mins timeout
- Loading branch information
Showing
5 changed files
with
370 additions
and
31 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
Oops, something went wrong.