Skip to content

feat(bigtable): classic direct access checker and it's implementation#2840

Open
sushanb wants to merge 14 commits intomainfrom
dp_check
Open

feat(bigtable): classic direct access checker and it's implementation#2840
sushanb wants to merge 14 commits intomainfrom
dp_check

Conversation

@sushanb
Copy link
Contributor

@sushanb sushanb commented Mar 12, 2026

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)
  • Rollback plan is reviewed and LGTMed
  • All new data plane features have a completed end to end testing plan

Fixes #<issue_number_goes_here> ☕️

If you write sample code, please follow the samples format.

@sushanb sushanb requested a review from igorbernstein2 March 12, 2026 16:03
@sushanb sushanb requested review from a team as code owners March 12, 2026 16:03
@product-auto-label product-auto-label bot added size: l Pull request size is large. api: bigtable Issues related to the googleapis/java-bigtable API. labels Mar 12, 2026
@sushanb sushanb requested a review from igorbernstein2 March 21, 2026 04:28
@sushanb sushanb changed the title feat(bigtable): unary direct access checker and it's implementation feat(bigtable): classic direct access checker and it's implementation Mar 23, 2026
@sushanb sushanb requested a review from nimf March 23, 2026 20:59
Copy link

@nimf nimf left a comment

Choose a reason for hiding this comment

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

First comments from the first pass. Will do another pass soon.


InstantiatingGrpcChannelProvider selectedProvider;

if (isDirectAccessEligible) {
Copy link

Choose a reason for hiding this comment

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

don't we also need to check if the user disabled directpath using CBT_ENABLE_DIRECTPATH=false?

.setDirectAccessRequested(DIRECT_PATH_ENABLED)
.setTrafficDirectorEnabled(DIRECT_PATH_ENABLED)
.setDirectAccessRequested(DIRECT_PATH_ENABLED || enableDirectPathByDefault)
.setTrafficDirectorEnabled(DIRECT_PATH_ENABLED || enableDirectPathByDefault)
Copy link

Choose a reason for hiding this comment

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

if the user disabled directpath using CBT_ENABLE_DIRECTPATH=false this will still yield true if it was enabled by default.

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 googleapis/java-bigtable API. size: l Pull request size is large.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants