Skip to content

Commit 671f892

Browse files
authored
fix(spanner): add closeAsync to ReadContext and make transaction closing non-blocking (#14076)
Adds `ReadContext.closeAsync()` to allow closing read contexts asynchronously without blocking caller threads. Refactors `MultiUseReadOnlyTransaction` so that background query initializations and `BeginTransaction` RPCs do not block thread execution during close, while preserving legacy synchronous `close()` semantics and guarding against new operations during closing.
1 parent 9d41333 commit 671f892

5 files changed

Lines changed: 981 additions & 95 deletions

File tree

0 commit comments

Comments
 (0)