spanner: Session pool should hand out sessions in LIFO order #9392
Labels
api: spanner
Issues related to the Spanner API.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Is your feature request related to a problem? Please describe.
Currently sessions are handed out from the session pool in FIFO order. Least recently used sessions are unlikely to be in backend caches, and the transactions associated with them are likely to aborted due to idleness.
Describe the solution you'd like
The session pool should hand out sessions in LIFO order.
The text was updated successfully, but these errors were encountered: