Skip to content

drpc: replace gRPC/DRPC clients with adapters #148353

@cthumuluru-crdb

Description

@cthumuluru-crdb
Contributor

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.

This ticket tracks changes to most of the clients.

  • InitClient
    AdminClient
    HeartbeatClient
    TimeSeriesClient
    DistSQLClient
    PerStoreClient
    PerReplicaClient
    MultiRaftClient
    SideTransportClient
    StoreLivenessClient
    TracingClient
    MigrationClient
    BlobClient
    KeyVisualizerClient
    GossipClient
    DirectoryClient
    StatusClient
    InternalClient

Changes to the following clients will be handled separately:

  • InspectzClient
  • LogInClient
  • LogOutClient
  • KVBatchClient

Jira issue: CRDB-51563

Epic CRDB-48923

Metadata

Metadata

Labels

A-server-networkingPertains to network addressing,routing,initializationC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-db-serverv25.3.0-prerelease

Projects

No projects

Milestone

No milestone

Development

Participants

@cthumuluru-crdb

Issue actions

    drpc: replace gRPC/DRPC clients with adapters · Issue #148353 · cockroachdb/cockroach