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

vendor: update grpc-go and update non-pinned deps #14297

Merged
merged 1 commit into from
Mar 22, 2017

Conversation

andreimatei
Copy link
Contributor

@andreimatei andreimatei commented Mar 21, 2017

Switch from Peter's fork of grpc to my own fork, since Peter's out of
office. My fork is https://github.com/grpc/grpc-go head + Peter's one
commit increasing the per-stream flow-control window.

The motivation of syncing to newer gRPC is to include grpc/grpc-go#993
for helping with #13989 - we will move to gRPC internal heartbeats
instead of using our own connection heartbeats in a future cockroach
commit.

Other dep updates:

  • the Lightstep update is a single commit that seems innocuous

cc @bdarnell


This change is Reviewable

@tamird
Copy link
Contributor

tamird commented Mar 21, 2017 via email

Switch from Peter's fork of grpc to my own fork, since Peter's out of
office. My fork is https://github.com/grpc/grpc-go head + Peter's one
commit increasing the per-stream flow-control window.

The motivation of syncing to newer gRPC is to include grpc/grpc-go#993
for helping with cockroachdb#13989 - we will move to gRPC internal heartbeats
instead of using our own connection heartbeats in a future cockroach
commit.

Other dep updates:
- the Lightstep update is a single commit that seems innocuous
Copy link
Member

@dt dt left a comment

Choose a reason for hiding this comment

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

for a core/stability-affecting dep, I actually like the dep-only change followed by the code-change, just since that helps minimize the simultaneously moving parts in case we later need to troubleshoot anything.

version: d3f1ab4a4dca70781cf6dc850a79ed38632660a6
repo: https://github.com/petermattis/grpc-go
version: 9d55a95b90eb10d08a07e0213d23797dbd7b7552
repo: https://github.com/andreimatei/grpc-go
Copy link
Member

@dt dt Mar 21, 2017

Choose a reason for hiding this comment

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

Let's fork this to cockroachdb org so we all push new refs there, rather than ping-pong-ing between personal forks every time we have a patch.

@tamird
Copy link
Contributor

tamird commented Mar 21, 2017 via email

@tamird
Copy link
Contributor

tamird commented Mar 21, 2017 via email

@andreimatei
Copy link
Contributor Author

Right, I didn't fork it under the Cockroach org cause hopefully our fork can go away when grpc gets better at bandwidth management, for example with grpc/grpc-go#1126

Future work is to use the new grpc options on our conns to enable their heartbeats, and change our heartbeats to only perform clock sync and not destroy conns when they timeout.
And separately, we'll play with the per-connection window to allow try to not have short RPCs blocked by long streams, depending on how discussions on #13687 go.
Anyway, I think it's a good idea to update grpc in its own PR.

There's currently a problem that Peter's change to make the conn window equal to the stream window causes a timeout in a grpc test. If I don't make them equal, but I still increase them significantly from the default spec value (which Peter also did), the timeout is gone but we get a failure of a TestServerWithMisbehavingClient.
There were also test failures in the same package with Peter's fork, although they were different and they also seemed to happen without Peter's commit... Not sure what to make of all this, other than say that we should move away from the fork when we can.


Review status: 0 of 4 files reviewed at latest revision, 1 unresolved discussion, all commit checks successful.


Comments from Reviewable

@andreimatei andreimatei merged commit b66ffbf into cockroachdb:master Mar 22, 2017
@andreimatei andreimatei deleted the grpc-update branch March 22, 2017 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants