Navigation Menu

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(bigtable/spanner): add google-c2p dependence to bigtable and spanner #5090

Merged
merged 2 commits into from Dec 21, 2021

Conversation

mohanli-ml
Copy link
Contributor

@mohanli-ml mohanli-ml commented Nov 5, 2021

According to discussion in googleapis/google-api-go-client#1283, we plan to move the google-c2p dependence to bigtable/spanner, which are services that will use DirectPath.

feat(bigtable): add google-c2p dependence

feat(spanner): add google-c2p dependence

@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Nov 5, 2021
@product-auto-label product-auto-label bot added the api: bigtable Issues related to the Bigtable API. label Nov 5, 2021
@codyoss
Copy link
Member

codyoss commented Nov 5, 2021

Please note that this does seem to carry a large amount of new dependencies. Open to other suggestions but I think it is at least better to limit the scope of these to the clients using the feature rather than being on the hot-path for all clients.

@mohanli-ml
Copy link
Contributor Author

As the plan is that CBT/Spanner will use DirectPath by default, we will eventually add the google-c2p dependencies to CBT/Spanner client repo, so I guess it does not harm to do it now?

@hengfengli
Copy link
Contributor

I don't see this PR introduces more dependencies in Spanner. LGTM.

@X0Xoo

This comment has been minimized.

@tamird
Copy link

tamird commented Nov 30, 2021

Hello. Is this ready to be merged? It appears to be required for googleapis/google-api-go-client#1283.

@mohanli-ml
Copy link
Contributor Author

@codyoss I run go mod tidy to both bigtable and spanner, but only bigtable/go.sum is updated, while spanner/go.sum is still the same. Do you know why?

@codyoss
Copy link
Member

codyoss commented Dec 3, 2021

@mohanli-ml I think are Spanner lib does its own gRPC connection handling to support session/transaction affinity IIRC. It may be that the client already relied on an additional gRPC package so it does not have more new code to pull in. This is a guess without looking at the code.

@tamird
Copy link

tamird commented Dec 16, 2021

Hello. Any progress here?

@mohanli-ml
Copy link
Contributor Author

@codyoss Can you help to approve and merge this PR? Thanks!

@codyoss codyoss requested a review from a team as a code owner December 21, 2021 17:21
@codyoss codyoss enabled auto-merge (squash) December 21, 2021 17:21
@codyoss codyoss merged commit 5343756 into googleapis:main Dec 21, 2021
codyoss pushed a commit to googleapis/google-api-go-client that referenced this pull request Dec 21, 2021
Remove google-c2p dependency to the entire google-api-go-client. Instead, services using DirectPath should add the dependency by itself, like googleapis/google-cloud-go#5090.

Issue: #1283
BrennaEpp pushed a commit to BrennaEpp/google-cloud-go that referenced this pull request Dec 23, 2021
…nner (googleapis#5090)

According to discussion in googleapis/google-api-go-client#1283, we plan to move the google-c2p dependence to bigtable/spanner, which are services that will use DirectPath.


feat(bigtable): add google-c2p dependence

feat(spanner): add google-c2p dependence
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigtable Issues related to the Bigtable API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants