这是indexloc提供的服务,不要输入任何密码
Skip to content

Support retry on document set() #63

@evandrobubiak

Description

@evandrobubiak

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions