GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||
GeezerVison is showing github.com — Spanner: Session pool should not retry BeginTransaction if database has been deleted by olavloite · Pull Request #6789 · googleapis/google-cloud-java Conversation
Contributor
The session pool could start an infinite loop of prepare session calls (BeginTransaction) if the underlying database has been deleted. Instead, the session pool should detect this situation and not retry the call. Fixes #6779
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
skuruppu
approved these changes
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks for fixing this issue so quickly.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsUh oh!
There was an error while loading. Please reload this page.
|
There was an error while loading. Please reload this page.
Codecov Report
@@ Coverage Diff @@ ## master #6789 +/- ## ============================================ - Coverage 46.37% 46.37% -0.01% - Complexity 28026 28028 +2 ============================================ Files 2614 2615 +1 Lines 288327 288309 -18 Branches 33810 33809 -1 ============================================ - Hits 133723 133709 -14 + Misses 144339 144334 -5 - Partials 10265 10266 +1
Continue to review full report at Codecov.
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@skuruppu I also added a check for PermissionDenied to the session pool, as that error would cause the exact same problem as NotFound (and the same as in the Go client). |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the quick fix.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
spanner: Client library sending a high rate of BeginTransaction requests when database is deleted
There was an error while loading. Please reload this page.