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

chore(bigtable): more text proxy tune-up #6977

Merged
merged 8 commits into from Nov 2, 2022
Merged

Conversation

telpirion
Copy link
Contributor

@telpirion telpirion commented Nov 1, 2022

This PR:

  • Changes how table IDs are passed to Client.Open()
  • Changes the error returned to the caller for a closed client.

@product-auto-label product-auto-label bot added size: s Pull request size is small. api: bigtable Issues related to the Bigtable API. labels Nov 1, 2022
@product-auto-label product-auto-label bot added size: m Pull request size is medium. and removed size: s Pull request size is small. labels Nov 1, 2022
@telpirion telpirion marked this pull request as ready for review November 2, 2022 17:22
@telpirion telpirion requested review from enocom and a team as code owners November 2, 2022 17:22
@@ -507,15 +529,15 @@ type goTestProxyServer struct {

// client retrieves a testClient from the clientIDs map. You must lock clientsLock before calling
// this method.
Copy link
Member

Choose a reason for hiding this comment

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

Maybe move this comment into an error message?

Copy link
Member

Choose a reason for hiding this comment

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

You must lock clientsLock before calling this method.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ack. That makes sense, but is out-of-scope for this review. I'll consider your suggestion for future improvements.

Copy link
Member

@quartzmo quartzmo left a comment

Choose a reason for hiding this comment

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

LGTM, but with question.

@telpirion telpirion merged commit d82ef41 into main Nov 2, 2022
@telpirion telpirion deleted the bigtable-proxy-cleanup branch November 2, 2022 18:40
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. size: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants