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
package main
funcmain() {
// this is using cirello.io/dynamolock/[email protected] librarylock, err:=l.lockClient.AcquireLockWithContext(
ctx, "test",
dynamolock.WithAdditionalTimeToWaitForLock(l.leasePeriod),
dynamolock.WithData([]byte(l.selfValue)),
dynamolock.ReplaceData())
}
We are upgrading go-sql-spanner to v1.9.0 to pick up this change which will create another session handle, but wanted to get your thoughts on this as the PR that introduced the session handle nullification mentioned session reuse for aborted transactions.
epot
changed the title
spanner: nil reference in session code
go spanner wrapper not backwards-compatible with spanner driver wrt session management in aborted transactions
Dec 20, 2024
Client
Spanner
Environment
Alpine Docker on GKE
go 1.23.3
Code and Dependencies
go.mod
Expected behavior
It has been working fine for a long time.
Actual behavior
We started to see a few panics since we upgraded the client from v1.70.0 to v1.73.0.
Screenshots
Additional context
It seems strangely familiar with #10385, I wonder if another regression was introduced?
The text was updated successfully, but these errors were encountered: