Skip to content

feat(spanner): add connection properties for min/max RPCs for DCP#12951

Merged
olavloite merged 2 commits intomainfrom
spanner-connection-dcp-properties
Apr 29, 2026
Merged

feat(spanner): add connection properties for min/max RPCs for DCP#12951
olavloite merged 2 commits intomainfrom
spanner-connection-dcp-properties

Conversation

@olavloite
Copy link
Copy Markdown
Contributor

Adds connection properties for min/max RPCs per channel for the dynamic channel pool. Also adds a connection property for concurrentStreamsLowWaterMark.

Adds connection properties for min/max RPCs per channel for the dynamic channel pool.
Also adds a connection property for concurrentStreamsLowWaterMark.
@olavloite olavloite requested review from a team as code owners April 29, 2026 13:46
@olavloite olavloite requested a review from rahul2393 April 29, 2026 13:46
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces new connection properties for the Dynamic Channel Pool (DCP) in the Spanner connection layer, specifically dcpMinRpcPerChannel, dcpMaxRpcPerChannel, and dcpConcurrentStreamsLowWatermark. These settings are integrated into the ConnectionOptions, ConnectionProperties, and SpannerPool logic, ensuring they are correctly used when creating Spanner instances and handled within the SpannerPoolKey. The feedback suggests replacing hardcoded default values in the property descriptions with references to the corresponding constants in SpannerOptions to ensure long-term documentation accuracy.

@olavloite olavloite enabled auto-merge (squash) April 29, 2026 15:23
@olavloite olavloite merged commit dc1216e into main Apr 29, 2026
129 of 131 checks passed
@olavloite olavloite deleted the spanner-connection-dcp-properties branch April 29, 2026 15:47
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