Skip to content

Conversation

@ejona86
Copy link
Member

@ejona86 ejona86 commented Dec 4, 2017

This backports #3670, #3764, #3799 for the 1.7.x branch.

Negotation is the period between transport creation and ready.
handshakeTimeout is unnecessary for InProcess, and the scheduling is causing
Thread creation that is breaking restrictive test environments. Those
environments are mostly broken already because client-side will try to create
Threads as well, but they are currently lucking out that the exception on
client-side doesn't break much.
Previously it was 20s. 20s isn't _bad_, but may be too aggressive.
Having it longer doesn't hurt us too much; we just need some bound.
Since the MAX_BACKOFF on client-side is 120s, this will have client and
server match, except for jitter. Although I will note that the
client-side value covers more work than the server-side, such as
attempting to connect to multiple hosts.
@ejona86 ejona86 requested a review from dapengzhang0 December 4, 2017 22:38
@ejona86 ejona86 merged commit 53b922b into grpc:v1.7.x Dec 5, 2017
@ejona86 ejona86 deleted the backport-negotiation-timeout branch December 5, 2017 00:36
@carl-mastrangelo carl-mastrangelo added this to the 1.7 milestone Dec 5, 2017
@lock lock bot locked as resolved and limited conversation to collaborators Jan 19, 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.

3 participants