perf: remove session pool#751
Merged
Merged
Conversation
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.
Contributor
|
Note Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported. |
rahul2393
approved these changes
Feb 13, 2026
Contributor
|
@olavloite I was reviewing the latest commits and was this commit supposed to not have any changes? |
Collaborator
Author
@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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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_sessionsandmax_sessionsconnection 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.