Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: session retry could cause infinite wait (#616)
A "Session not found" when using an AsyncTransactionManager could cause an infinite wait for an ApiFuture that would never be done. Fixes #605
- Loading branch information
Showing with 12 additions and 5 deletions.
- +2 −4 google-cloud-spanner/src/main/java/com/google/cloud/spanner/AsyncTransactionManagerImpl.java
- +9 −1 google-cloud-spanner/src/main/java/com/google/cloud/spanner/SessionPoolAsyncTransactionManager.java
- +1 −0 google-cloud-spanner/src/main/java/com/google/cloud/spanner/TransactionContextFutureImpl.java