Skip to content

fix: cancel even when vrpc is not started yet and fix newRealCall#2897

Open
mutianf wants to merge 2 commits intogoogleapis:mainfrom
mutianf:sad_bugs
Open

fix: cancel even when vrpc is not started yet and fix newRealCall#2897
mutianf wants to merge 2 commits intogoogleapis:mainfrom
mutianf:sad_bugs

Conversation

@mutianf
Copy link
Copy Markdown
Contributor

@mutianf mutianf commented Apr 21, 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.

@mutianf mutianf requested review from a team as code owners April 21, 2026 01:59
@product-auto-label product-auto-label Bot added size: m Pull request size is medium. api: bigtable Issues related to the googleapis/java-bigtable API. labels Apr 21, 2026
@mutianf mutianf changed the title fix: cancel even when vrpc is not started yet and fix newRea… fix: cancel even when vrpc is not started yet and fix newRealCall Apr 21, 2026
Change-Id: I81320830192df0cd16f405487c25b5dcb28985fe

if (!status.isOk()) {
if (!state.compareAndSet(State.STARTED, State.CLOSED)) {
return;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The return is missing now. It was here to protect from the race with handleSessionClose, right? Then we should keep it.

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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

oh. Do we want a user to have an exception if starting a call coincides with session closing? Am I missing something?

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: m Pull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants