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

stub: Have ClientCalls.ThreadlessExecutor reject Runnables after end of RPC #7798

Merged
merged 2 commits into from
Feb 23, 2021

Conversation

njhill
Copy link
Contributor

@njhill njhill commented Jan 11, 2021

Changes originally proposed as part of #7106.

Fixes #3557

@njhill njhill changed the title Have ClientCalls.ThreadlessExecutor reject Runnables after end of RPC stub: Have ClientCalls.ThreadlessExecutor reject Runnables after end of RPC Jan 11, 2021
@ejona86
Copy link
Member

ejona86 commented Jan 11, 2021

@voidzcy, you self-assigned to review the earlier PR that this one is a subset of. Do you want to review this one as well?

@ejona86 ejona86 requested a review from voidzcy January 12, 2021 17:53
Copy link
Contributor

@voidzcy voidzcy left a comment

Choose a reason for hiding this comment

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

Looks nice.

@ejona86 ejona86 added the kokoro:run Add this label to a PR to tell Kokoro the code is safe and tests can be run label Feb 23, 2021
@grpc-kokoro grpc-kokoro removed the kokoro:run Add this label to a PR to tell Kokoro the code is safe and tests can be run label Feb 23, 2021
@ejona86 ejona86 merged commit 61e0f30 into grpc:master Feb 23, 2021
@ejona86
Copy link
Member

ejona86 commented Feb 23, 2021

@njhill, thank you!

@njhill njhill deleted the threadlessness branch February 24, 2021 00:01
dapengzhang0 added a commit that referenced this pull request Feb 25, 2021
…ter end of RPC" (#7920)

This reverts commit 61e0f30 (#7798).

Our stub/core implementation had a bug (#7921) that might make it possible to leak cancellation through to the executor multiple times, typically when a custom interceptor is used. Revert this commit because import of grpc to google internal fails. We think the bug found in the import is legit and in our code. So we revert this change to avoid hurting users until the underlying issue is fixed.
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ClientCalls.ThreadlessExecutor should reject Runnables after end of RPC
4 participants