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

Revert "stub: Have ClientCalls.ThreadlessExecutor reject Runnables after end of RPC #7920

Merged
merged 1 commit into from
Feb 25, 2021

Conversation

dapengzhang0
Copy link
Member

@dapengzhang0 dapengzhang0 commented Feb 25, 2021

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.

cc @njhill

@ejona86
Copy link
Member

ejona86 commented Feb 25, 2021

Rejecting in the executor is already finding bugs!

@ejona86
Copy link
Member

ejona86 commented Feb 25, 2021

To be clear: 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.

@dapengzhang0 dapengzhang0 merged commit 9b803f3 into grpc:master Feb 25, 2021
@dapengzhang0 dapengzhang0 deleted the revert-7798 branch February 25, 2021 23:46
@njhill
Copy link
Contributor

njhill commented Feb 26, 2021

Nice :) I wonder if it would make sense for the RejectedExecutionException to include a message along the lines of "Unexpected post-RPC task submission, please report this error"?

@ejona86
Copy link
Member

ejona86 commented Feb 26, 2021

Yeah, such a message would be fine and appropriate.

@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.

3 participants