Skip to content

Conversation

@rahul2393
Copy link
Contributor

@rahul2393 rahul2393 commented Dec 16, 2025

The google-cloud-shared-dependencies BOM (via sdk-platform-java-config parent)
manages grpc-gcp to version 1.6.1, which overrides the 1.9.0 version declared
by google-cloud-spanner 6.105.0.

This causes NoSuchMethodError for setInitSize(int) method in
GcpChannelPoolOptions.Builder, which was added in grpc-gcp 1.7.0 as part
of the dynamic channel pool scaling feature.

The fix explicitly declares grpc-gcp 1.9.0 in dependencyManagement to
ensure the correct version is used.

@rahul2393 rahul2393 requested review from a team as code owners December 16, 2025 19:04
@product-auto-label product-auto-label bot added size: xs Pull request size is extra small. api: spanner Issues related to the googleapis/java-spanner-jdbc API. labels Dec 16, 2025
@rahul2393 rahul2393 requested a review from olavloite December 16, 2025 19:07
@rahul2393 rahul2393 added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Dec 16, 2025
@rahul2393 rahul2393 closed this Dec 16, 2025
@rahul2393
Copy link
Contributor Author

Changes are ported here #2326

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

Labels

api: spanner Issues related to the googleapis/java-spanner-jdbc API. do not merge Indicates a pull request not ready for merge, due to either quality or timing. size: xs Pull request size is extra small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants