Skip to content

perf: remove session pool#751

Merged
olavloite merged 1 commit into
mainfrom
remove-session-pool
Feb 13, 2026
Merged

perf: remove session pool#751
olavloite merged 1 commit into
mainfrom
remove-session-pool

Conversation

@olavloite
Copy link
Copy Markdown
Collaborator

The underlying session pool has been completely removed from the driver, and the driver always using a single multiplexed session for all operations. The min_sessions and max_sessions connection properties are deprecated, and setting a value for either of these has no effect.

Note that the driver was already using a single multiplexed session for all operations by default before this change, but had a fallback option to use a session pool. This fallback option is no longer available. This means that the driver also does not need to create and maintain the sessions in the pool.

See https://docs.cloud.google.com/spanner/docs/sessions#multiplexed_sessions for more information on multiplexed sessions in Spanner.

The underlying session pool has been completely removed from the driver, and
the driver always using a single multiplexed session for all operations. The
`min_sessions` and `max_sessions` connection properties are deprecated, and
setting a value for either of these has no effect.

Note that the driver was already using a single multiplexed session for all
operations by default before this change, but had a fallback option to use
a session pool. This fallback option is no longer available. This means that
the driver also does not need to create and maintain the sessions in the pool.

See https://docs.cloud.google.com/spanner/docs/sessions#multiplexed_sessions
for more information on multiplexed sessions in Spanner.
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported.

@olavloite olavloite requested a review from rahul2393 February 13, 2026 10:48
@olavloite olavloite merged commit 4ea9f31 into main Feb 13, 2026
43 checks passed
@olavloite olavloite deleted the remove-session-pool branch February 13, 2026 12:38
@egonelbre
Copy link
Copy Markdown
Contributor

egonelbre commented Feb 23, 2026

@olavloite I was reviewing the latest commits and was this commit supposed to not have any changes?

@olavloite
Copy link
Copy Markdown
Collaborator Author

@olavloite I was reviewing the latest commits and was this commit supposed to not have any changes?

@egonelbre This commit is indeed intentionally empty. We only added the commit include this information in the release notes. The actual change is only in the Spanner client library: googleapis/google-cloud-go#13592

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants