Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

DB transaction failure causes storage.Panic #49

Open
hyangah opened this issue Oct 25, 2024 · 0 comments
Open

DB transaction failure causes storage.Panic #49

hyangah opened this issue Oct 25, 2024 · 0 comments

Comments

@hyangah
Copy link
Contributor

hyangah commented Oct 25, 2024

Error details:

firestore transaction" err="rpc error: code = Aborted desc = Aborted due to cross-transaction contention. This occurs when multiple transactions attempt to access the same data, requiring Firestore to abort at least one in order to enforce serializability.

at golang.org/x/oscar/internal/storage.Panic ( /src/internal/storage/db.go:156 )
at golang.org/x/oscar/internal/gcp/firestore.(*fstore).Panic ( /src/internal/gcp/firestore/firestore.go:86 )
at golang.org/x/oscar/internal/gcp/firestore.(*fstore).runTransaction ( /src/internal/gcp/firestore/firestore.go:170 )
at golang.org/x/oscar/internal/gcp/firestore.(*DB).lockTx ( /src/internal/gcp/firestore/db.go:147 )
at golang.org/x/oscar/internal/gcp/firestore.(*DB).lock ( /src/internal/gcp/firestore/db.go:127 )
at golang.org/x/oscar/internal/gcp/firestore.(*DB).waitForLock ( /src/internal/gcp/firestore/db.go:99 )
at golang.org/x/oscar/internal/gcp/firestore.(*DB).Lock ( /src/internal/gcp/firestore/db.go:77 )
at main.(*Gaby).serveHTTP.func4 ( /src/internal/gaby/main.go:322 )
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant