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

Partially revert "core: change serverimpl,servercallimpl's internalcl… #4168

Merged
merged 1 commit into from
Mar 2, 2018

Conversation

ejona86
Copy link
Member

@ejona86 ejona86 commented Mar 2, 2018

…ose to cancel stream (#4038)"

This partially reverts commit 48ca452.
It leaves the changes to ServerCallImpl and test.

This also partially reverts "Lint fixes" commit
3002a23 which removed unused variables
which are now necessary again.

This is reverted for the combined result of two issues:

  • Some users are testing that they get UNKNOWN when the service throws.
    That's not unreasonable given the behavior was well-publicised when it
    changed in v1.5. We should probably keep the UNKNOWN in some common
    cases (like the service threw immediately, before sending anything).
  • The client could see CANCELLED instead of INTERNAL as had been
    intended. It's unclear as to why (I didn't investigate heavily). This
    behavior is visible in MoreInProcessTest and was overlooked during
    review.

CC @ramaraochavali

This unfixes #3746, but since it hadn't been closed it doesn't need to be reopened.

…ose to cancel stream (grpc#4038)"

This partially reverts commit 48ca452.
It leaves the changes to ServerCallImpl and test.

This also partially reverts "Lint fixes" commit
3002a23 which removed unused variables
which are now necessary again.

This is reverted for the combined result of two issues:
* Some users are testing that they get UNKNOWN when the service throws.
  That's not unreasonable given the behavior was well-publicised when it
  changed in v1.5. We should probably keep the UNKNOWN in some common
  cases (like the service threw immediately, before sending anything).
* The client could see CANCELLED instead of INTERNAL as had been
  intended. It's unclear as to why (I didn't investigate heavily). This
  behavior is visible in MoreInProcessTest and was overlooked during
  review.
@ejona86 ejona86 merged commit 26719bd into grpc:master Mar 2, 2018
@ejona86 ejona86 deleted the revert-internalclose branch March 2, 2018 21:35
@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2019
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.

2 participants