You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A client called run_in_transaction be stuck if Spanner is down #18375
I reproduced this on current main: after get_session() raises ServiceUnavailable, the next run_in_transaction() call on the same thread raises the nested-transaction RuntimeError before session acquisition is attempted. I am preparing a focused fix that includes session acquisition in the existing cleanup scope and only returns a session to the pool if acquisition succeeded. The regression test fails before the fix and checks that a later call can succeed. This contribution is being prepared with AI assistance.
Activity
mukeshr06 commentedon Sep 19, 2026
I reproduced this on current main: after get_session() raises ServiceUnavailable, the next run_in_transaction() call on the same thread raises the nested-transaction RuntimeError before session acquisition is attempted. I am preparing a focused fix that includes session acquisition in the existing cleanup scope and only returns a session to the pool if acquisition succeeded. The regression test fails before the fix and checks that a later call can succeed. This contribution is being prepared with AI assistance.