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

rpc,nodedialer: excise methods which do not use ConnectionClass #39398

Merged
merged 1 commit into from
Aug 21, 2019

Conversation

ajwerner
Copy link
Contributor

@ajwerner ajwerner commented Aug 7, 2019

#39172 added the concept of connection class to create multiple connections
to a given target. In order to reduce the adoption burden that PR introduced new
methods for dialing connections, checking connection health, and retrieving circuit
breakers which took a ConnectionClass and carried a Class suffix. It left the previous
method signatures untouched, opting instead to convert them to a shorthand which passed DefaultClass to the new method.

This PR moves all clients of these methods to use ConnectionClass explicitly.

Release note: None

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@ajwerner
Copy link
Contributor Author

ajwerner commented Aug 7, 2019

Test flaked due to #39390, looking in to that.

@ajwerner ajwerner marked this pull request as ready for review August 7, 2019 16:04
[cockroachdb#39172](https:github.com/cockroachdb/pull/39172) added the concept
of connection class to create multiple connections to a given target. In order
to reduce the adoption burden that PR introduced new methods for dialing
connections, checking connection health, and retrieving circuit breakers which
took a ConnectionClass and carried a `Class` suffix. It left the previous
method signatures untouched, opting instead to convert them to a shorthand
which passed DefaultClass to the new method.

This PR moves all clients of these methods to use ConnectionClass explicitly.

Release note: None
@ajwerner ajwerner force-pushed the ajwerner/adopt-connection-class branch from dafdb0e to b3190af Compare August 8, 2019 19:05
Copy link
Contributor

@andreimatei andreimatei left a comment

Choose a reason for hiding this comment

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

LGTM

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @andreimatei)

@ajwerner
Copy link
Contributor Author

TFTR! bors r+

@ajwerner
Copy link
Contributor Author

bors r+

Forgot it needed to be on its own line

craig bot pushed a commit that referenced this pull request Aug 21, 2019
39398: rpc,nodedialer: excise methods which do not use ConnectionClass r=ajwerner a=ajwerner

#39172 added the concept of connection class to create multiple connections
to a given target. In order to reduce the adoption burden that PR introduced new
methods for dialing connections, checking connection health, and retrieving circuit
breakers which took a ConnectionClass and carried a `Class` suffix. It left the previous
method signatures untouched, opting instead to convert them to a shorthand which passed DefaultClass to the new method.

This PR moves all clients of these methods to use ConnectionClass explicitly.

Release note: None

Co-authored-by: Andrew Werner <ajwerner@cockroachlabs.com>
@craig
Copy link
Contributor

craig bot commented Aug 21, 2019

Build succeeded

@craig craig bot merged commit b3190af into cockroachdb:master Aug 21, 2019
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