Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Support retry on document set() #63

Open
evandrobubiak opened this issue Nov 22, 2024 · 0 comments
Open

Support retry on document set() #63

evandrobubiak opened this issue Nov 22, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@evandrobubiak
Copy link

evandrobubiak commented Nov 22, 2024

Sometimes a set on document fails with error "FirebaseFirestoreAdminException: firestore/aborted: Transaction lock timeout."

There is currently no support for auto retrying the set on a document on certain StatusCode as it happens in NodeJs code:
https://github.com/googleapis/nodejs-firestore/blob/07a88420062c428b04d61638c6ba432422e01652/dev/src/write-batch.ts#L624

@evandrobubiak evandrobubiak added the enhancement New feature or request label Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants