Skip to content

fix(spanner): explicitly disable gRPC new pickfirst. - #12206

Merged
rahul2393 merged 2 commits into
googleapis:mainfrom
HailongWen:main
May 7, 2025
Merged

fix(spanner): explicitly disable gRPC new pickfirst.#12206
rahul2393 merged 2 commits into
googleapis:mainfrom
HailongWen:main

Conversation

@HailongWen

Copy link
Copy Markdown
Contributor

As seen in b/415354418, this new experimental feature introduced by grpc/grpc-go#8126 is not yet stable and may cause intermittent CloudPath fallbacks.

As a user of the OSS gRPC library, CS library should explicitly disable it until the underlying issue is fixed.

As seen in b/415354418, this new experimental feature introduced by
grpc/grpc-go#8126 is not yet stable and may
cause intermittent CloudPath fallbacks.

As a user of the OSS gRPC library, CS library should explicitly disable
it until the underlying issue is fixed.
@HailongWen
HailongWen requested review from a team May 6, 2025 22:51
Comment thread spanner/client.go
defer func() { trace.EndSpan(ctx, err) }()

// Explicitly disable some gRPC experiments as they are not stable yet.
gRPCPickFirstEnvVarName := "GRPC_EXPERIMENTAL_ENABLE_NEW_PICK_FIRST"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Note: this env var only applies to DirectPath and will be a no-op to existing CloudPath users.

@rahul2393 rahul2393 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 7, 2025
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 7, 2025
@rahul2393 rahul2393 changed the title fix: explicitly disable gRPC new pickfirst. fix(spanner): explicitly disable gRPC new pickfirst. May 7, 2025
@rahul2393 rahul2393 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 7, 2025
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 7, 2025
@rahul2393
rahul2393 merged commit 745acc4 into googleapis:main May 7, 2025
2FaceS-bit pushed a commit to 2FaceS-bit/google-cloud-go that referenced this pull request May 12, 2025
As seen in b/415354418, this new experimental feature introduced by
grpc/grpc-go#8126 is not yet stable and may
cause intermittent CloudPath fallbacks.

As a user of the OSS gRPC library, CS library should explicitly disable
it until the underlying issue is fixed.

Co-authored-by: rahul2393 <irahul@google.com>
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