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

refactor(rpc): prefer monitored_connect over connect #18635

Merged
merged 4 commits into from
Sep 23, 2024

Conversation

BugenZhao
Copy link
Member

@BugenZhao BugenZhao commented Sep 23, 2024

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.

What's changed and what's your intention?

Replace all occurrences of Endpoint::connect with EndpointExt::monitored_connect, so that we can attach some more common logic inside.

Also remove the dead code of ConnectorClient.

Checklist

protox is a protobuf compiler written entirely in Rust by the same author as proto_reflect.

Documentation

  • My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note

If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.

Copy link
Member Author

BugenZhao commented Sep 23, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @BugenZhao and the rest of your teammates on Graphite Graphite

Signed-off-by: Bugen Zhao <[email protected]>
@BugenZhao BugenZhao marked this pull request as ready for review September 23, 2024 08:45
@graphite-app graphite-app bot requested a review from a team September 23, 2024 09:04
Copy link
Contributor

@wenym1 wenym1 left a comment

Choose a reason for hiding this comment

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

LGTM

@BugenZhao BugenZhao added this pull request to the merge queue Sep 23, 2024
Merged via the queue into main with commit a5ec3ea Sep 23, 2024
30 of 31 checks passed
@BugenZhao BugenZhao deleted the bz/grpc-client-refactor branch September 23, 2024 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants