Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(spanner): allow attempt direct path xds via env var #9582

Merged
merged 3 commits into from
Mar 16, 2024
Merged

feat(spanner): allow attempt direct path xds via env var #9582

merged 3 commits into from
Mar 16, 2024

Conversation

HailongWen
Copy link
Contributor

@HailongWen HailongWen commented Mar 14, 2024

To enable Direct Access, both EnableDirectPath and EnableDirectPathXds should be added in the client options for grpctransport to append the correct google-c2p scheme.

This PR adds a env var GOOGLE_SPANNER_ENABLE_DIRECT_ACCESS to control the enable/disable of Direct Access. When it is true, it adds the EnableDirectPathXds option which effectively turns on Direct Access (EnableDirectPath has already been added above).

BEGIN_COMMIT_OVERRIDE
feat(spanner): Allow attempt direct path xds via env var
END_COMMIT_OVERRIDE

@HailongWen HailongWen requested review from a team as code owners March 14, 2024 05:11
@rahul2393 rahul2393 changed the title feat: allow attempt direct path xds via env var feat(spanner): allow attempt direct path xds via env var Mar 14, 2024
@rahul2393 rahul2393 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Mar 14, 2024
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Mar 14, 2024
@product-auto-label product-auto-label bot added the api: spanner Issues related to the Spanner API. label Mar 14, 2024
@rahul2393 rahul2393 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Mar 16, 2024
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Mar 16, 2024
@rahul2393 rahul2393 merged commit e4b663c into googleapis:main Mar 16, 2024
9 checks passed
@rahul2393 rahul2393 added the release-please:force-run To run release-please label Mar 18, 2024
@release-please release-please bot removed the release-please:force-run To run release-please label Mar 18, 2024
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 Spanner API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants