Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add async api * feat: session pool is non-blocking * tests: fix integration tests that assumed tx was blocking Some integration tests started transactions without executing a query, and expected these transactions to fail. However, as the client is now non-blocking up until the first call to ResultSet#next(), no exception would occur. * feat: add read methods support * tests: test async runner * feat: create async runner * tests: centralize some commonly used test objects * feat: keep session checked out until async finishes * fix: fix span test cases after rebase * fix: fix async runner tests * fix: make async runner wait for async operations * examples: add example integration test * examples: add more examples * tests: fix flaky tests * rebase: rebase on current master * fix: run code formatter * feat: add support for poller * tests: support more param types * fix: fix race conditions * feat: return ApiFuture to monitor end of AsyncResultSet * feat: add helper method for create test result sets * feat: add batchUpdateAsync * fix: add ignored interface differences * refactor: use future as waiter in SessionPool * format: run code formatter * tests: fix test case + remove commented code * fix: AsyncResultSet should throw Cancelled * feat: expose DatabaseId.of(String name) * deps: set version to 1.53 to match bom * feat: steps to add async support for tx manager * review: process review comments * chore: remove unused code * clirr: add ignored differences to clirr * fix: call listeners after all rows have been consumed * feat: towards AsyncTransactionManager * fix: session leaks + code format * fix: more session leak fixes * feat: further work on AsyncTransactionManager * fix: fix test failures * fix: fix several race conditions * tests: increase test timeout * feat: further towards AsyncTransactionManager * feat: require executor for transaction functions * revert: remove async connection api from branch * chore: run code formatter * chore: fix flaky test case * tests: fix ITs for emulator * fix: SpannerOptions.toBuilder().host should override emulatorHost * tests: fix potentially hanging test
- Loading branch information
Showing
69 changed files
with
9,895 additions
and
687 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.