You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Code is clearly retrying even though only one transaction attempt is set, causing the test code to back up, eventually running out of the 10s deadline for each goroutine.
This appears to be directly related due to the change made in #10349, which was released in datastore/v1.17.1. In my opinion, this is a pretty big change for a patch release, even if it is marked as a bugfix.
The text was updated successfully, but these errors were encountered:
Client
Cloud Datastore
Environment
All Environments
Code and Dependencies
go.mod
Expected behavior
When running the sample code, I'd expect that the transactions would fail fast as only one attempt is being set. The test code should run in < 2s.
Note: to see the results with the patched code, uncomment the
replace
line in the providedgo.mod
file, rungo mod tidy
and go build`.output when using patched code
Actual behavior
Code is clearly retrying even though only one transaction attempt is set, causing the test code to back up, eventually running out of the 10s deadline for each goroutine.
output when using upstream code
Additional context
This appears to be directly related due to the change made in #10349, which was released in datastore/v1.17.1. In my opinion, this is a pretty big change for a patch release, even if it is marked as a bugfix.
The text was updated successfully, but these errors were encountered: