Skip to content

spanner: Session pool should hand out sessions in LIFO order #9392

@skuruppu

Description

@skuruppu

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.

Metadata

Metadata

Assignees

Labels

api: spannerIssues related to the Spanner API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions