Skip to content

Conversation

@ejona86
Copy link
Member

@ejona86 ejona86 commented Nov 29, 2016

This is a "backport" for v1.0.x, even though we don't yet have the fix on master. The fix
will probably have to be rewritten for master after the LB API changes settle. When I
submit this change GitHub will close #2444, but I'll just reopen it for tracking progress on
master.

This removes an abuse of scheduled executor in ManagedChannelImpl. The executor
was used to avoid deadlocking. Now we run the work on the same thread, but
delay it until locks have been released.

Fixes #2444

This removes an abuse of scheduled executor in ManagedChannelImpl. The executor
was used to avoid deadlocking. Now we run the work on the same thread, but
delay it until locks have been released.

Fixes grpc#2444
Copy link
Contributor

@zhangkun83 zhangkun83 left a comment

Choose a reason for hiding this comment

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

LGTM

@ejona86 ejona86 merged commit 7adbffe into grpc:v1.0.x Nov 30, 2016
@ejona86 ejona86 deleted the deterministic-inprocess branch November 30, 2016 23:53
@lock lock bot locked as resolved and limited conversation to collaborators Jan 21, 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