-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Lazy-started transactions (#2017)
* Preliminary implementation of lazy transactions * Avoid creating new function contexts where possible * Fixes an update tests * Remove transaction options type from normal _get * Revert rollback optimisation * Do not start transaction when readTime specified * Completely revert conditional rollback * Rollback is completed asynchronously * Cleanup * Fixes Make resilient to wether transaction is included in same or different response Test transaction ID buffer length * Revert comment * Fix aggregate query stream Co-authored-by: Tom Andersen <tom-andersen@users.noreply.github.com> * Apply suggestion for DocumentReader parameters * Fix conformance tests * Revert readTime null assertion behaviour * Fix query snapshot readTime logic * Update dev/src/reference.ts I am simply going to apply this change... * Remove un-needed null assertion Co-authored-by: Tom Andersen <tom-andersen@users.noreply.github.com> * Apply suggested tweaks --------- Co-authored-by: Tom Andersen <tom-andersen@users.noreply.github.com>
- Loading branch information
1 parent
5811492
commit 2c726a1
Showing
12 changed files
with
918 additions
and
625 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.