Skip to content

drpc: add a CLI flag to cockroach start command to enable DRPC #155592

@cthumuluru-crdb

Description

@cthumuluru-crdb

The switch from gRPC to DRPC is a fundamental low-level change that also affects the node's bootstrap process. For a node to successfully bootstrap, it needs to gossip with other nodes, an operation that requires making RPC calls.

The current approach of enabling or disabling DRPC through a cluster setting is not feasible because cluster settings themselves are propagated via RPC. This creates a circular dependency during bootstrap.

To resolve this, we plan to introduce a new CLI flag that allows enabling or disabling DRPC independently of cluster settings.

This ticket tracks the work to add a new CLI flag --use-new-rpc to cockroach start command to enable DRPC. DRPC is turned off by default.

Jira issue: CRDB-55500

Epic CRDB-55200

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-servertarget-release-26.1.0

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions