datastore: rollback when panic occurs in RunInTransaction. #5969
Labels
api: datastore
Issues related to the Datastore API.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Is your functional requirement relevant to the issue? Please describe.
We would like to be
rollback
in the unlikely event of apanic
in aRunInTransaction
.Describe the solution you want.
We want rollback using
defer
andrecover
forf(tx)
.google-cloud-go/datastore/transaction.go
Line 173 in dd8973b
Describe alternatives you have considered.
none
Additional Context.
none
The text was updated successfully, but these errors were encountered: