-
Notifications
You must be signed in to change notification settings - Fork 4k
*: replace grpc clients with rpc adapters #147950
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
Merged
craig
merged 17 commits into
cockroachdb:master
from
cthumuluru-crdb:use-grpc-drpc-adapters
Jun 16, 2025
Merged
*: replace grpc clients with rpc adapters #147950
craig
merged 17 commits into
cockroachdb:master
from
cthumuluru-crdb:use-grpc-drpc-adapters
Jun 16, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Member
095ae83 to
2695c8e
Compare
gRPC and DRPC clients have different signatures. To unify them, a common interface was created for both types of clients, and replaced the gRPC and DRPC clients with adapters. Epic: CRDB-48923 Informs:cockroachdb#148353 Release note: none
gRPC and DRPC clients have different signatures. To unify them, a common interface was created for both types of clients, and replaced the gRPC and DRPC clients with adapters. Epic: CRDB-48923 Informs:cockroachdb#148353 Release note: none
gRPC and DRPC clients have different signatures. To unify them, a common interface was created for both types of clients, and replaced the gRPC and DRPC clients with adapters. Epic: CRDB-48923 Informs:cockroachdb#148353 Release note: none
gRPC and DRPC clients have different signatures. To unify them, a common interface was created for both types of clients, and replaced the gRPC and DRPC clients with adapters. Epic: CRDB-48923 Informs:cockroachdb#148353 Release note: none
gRPC and DRPC clients have different signatures. To unify them, a common interface was created for both types of clients, and replaced the gRPC and DRPC clients with adapters. Epic: CRDB-48923 Informs:cockroachdb#148353 Release note: none
gRPC and DRPC clients have different signatures. To unify them, a common interface was created for both types of clients, and replaced the gRPC and DRPC clients with adapters. Epic: CRDB-48923 Informs:cockroachdb#148353 Release note: none
gRPC and DRPC clients have different signatures. To unify them, a common interface was created for both types of clients, and replaced the gRPC and DRPC clients with adapters. Epic: CRDB-48923 Informs:cockroachdb#148353 Release note: none
gRPC and DRPC clients have different signatures. To unify them, a common interface was created for both types of clients, and replaced the gRPC and DRPC clients with adapters. Epic: CRDB-48923 Informs:cockroachdb#148353 Release note: none
gRPC and DRPC clients have different signatures. To unify them, a common interface was created for both types of clients, and replaced the gRPC and DRPC clients with adapters. Epic: CRDB-48923 Informs:cockroachdb#148353 Release note: none
gRPC and DRPC clients have different signatures. To unify them, a common interface was created for both types of clients, and replaced the gRPC and DRPC clients with adapters. Epic: CRDB-48923 Informs:cockroachdb#148353 Release note: none
gRPC and DRPC clients have different signatures. To unify them, a common interface was created for both types of clients, and replaced the gRPC and DRPC clients with adapters. Epic: CRDB-48923 Informs:cockroachdb#148353 Release note: none
gRPC and DRPC clients have different signatures. To unify them, a common interface was created for both types of clients, and replaced the gRPC and DRPC clients with adapters. Epic: CRDB-48923 Informs:cockroachdb#148353 Release note: none
gRPC and DRPC clients have different signatures. To unify them, a common interface was created for both types of clients, and replaced the gRPC and DRPC clients with adapters. Epic: CRDB-48923 Informs:cockroachdb#148353 Release note: none
gRPC and DRPC clients have different signatures. To unify them, a common interface was created for both types of clients, and replaced the gRPC and DRPC clients with adapters. Epic: CRDB-48923 Informs:cockroachdb#148353 Release note: none
gRPC and DRPC clients have different signatures. To unify them, a common interface was created for both types of clients, and replaced the gRPC and DRPC clients with adapters. Epic: CRDB-48923 Informs:cockroachdb#148353 Release note: none
cbdc938 to
32a4a95
Compare
gRPC and DRPC clients have different signatures. To unify them, a common interface was created for both types of clients, and replaced the gRPC and DRPC clients with adapters. Epic: CRDB-48923 Fixes:cockroachdb#148353 Release note: none
32a4a95 to
4930b55
Compare
Contributor
Author
|
bors r+ |
Contributor
shubhamdhama
added a commit
to shubhamdhama/cockroach
that referenced
this pull request
Jun 19, 2025
This change replaces the direct client creation through `NewInternalClient` with the gRPC adapter. See cockroachdb#147950 for more context. Also, since we have a more targeted service for `Join` RPC, we should use its adapter interface. Release note: none Epic: CRDB-48923
craig bot
pushed a commit
that referenced
this pull request
Jun 20, 2025
148451: kv,server: extract `Cluster` service and register with DRPC server r=cthumuluru-crdb a=shubhamdhama `` kv,server: extract `Cluster` service and register with DRPC server `` This is a follow-up to #145195, where we extracted `KVBatch` from the `Internal` service. Here, we do the same with `Cluster`. The TL;DR is that smaller services are easier to maintain and can be more smoothly migrated to DRPC. We also enable this service on the DRPC server. This is controlled by `rpc.experimental_drpc.enabled` (off by default). This change is part of a series and is similar to: #146926 Note: This only registers the service; the client is not updated to use the DRPC client, so this service will not have any functional effect. `` server: replace `RPCClusterClient` for cluster join operation `` This change replaces the direct client creation through `NewInternalClient` with the gRPC adapter. See #147950 for more context. Also, since we have a more targeted service for `Join` RPC, we should use its adapter interface. Release note: none Epic: CRDB-48923 Co-authored-by: Shubham Dhama <shubham.dhama@cockroachlabs.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
gRPC and DRPC clients have different signatures. To unify them, we created a common interface for both types of clients, and replaced the gRPC and DRPC clients with adapters.
Epic: CRDB-48923
Informs: #148353
Release note: none