Skip to content

fix(grpc-gcp): ignore operations after a queued cancel - #14207

Open
rahul2393 wants to merge 1 commit into
mainfrom
fm/dcp-split-1b-cancel-guard
Open

fix(grpc-gcp): ignore operations after a queued cancel#14207
rahul2393 wants to merge 1 commit into
mainfrom
fm/dcp-split-1b-cancel-guard

Conversation

@rahul2393

Copy link
Copy Markdown
Contributor

No description provided.

@rahul2393
rahul2393 requested review from a team as code owners August 28, 2026 06:32
@rahul2393
rahul2393 requested a review from olavloite August 28, 2026 06:32

@gemini-code-assist gemini-code-assist Bot left a comment

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.

Code Review

This pull request updates GcpClientCall and its nested class SimpleGcpClientCall to improve the handling of call cancellations and failures during message sending, ensuring that active stream counts are correctly managed and not leaked. Specifically, it introduces state tracking for queued and executed cancellations, wraps message sending in try-catch blocks to handle runtime exceptions, and adds comprehensive unit tests to verify these behaviors under various scenarios. There are no review comments to address, and I have no additional feedback to provide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant