Skip to content

Conversation

@shubhamdhama
Copy link
Contributor

@shubhamdhama shubhamdhama commented Jun 25, 2025

This is a follow-up to #145195, where we extracted KVBatch from the Internal service. Here, we do the same with QuorumRecovery. 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.

Fixes: #148726
Epic: CRDB-48925
Release note: None

@shubhamdhama shubhamdhama requested review from a team as code owners June 25, 2025 03:28
@blathers-crl
Copy link

blathers-crl bot commented Jun 25, 2025

It looks like your PR touches production code but doesn't add or edit any test code. Did you consider adding tests to your PR?

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

…erver

This is a follow-up to cockroachdb#145195, where we extracted `KVBatch` from the
`Internal` service. Here, we do the same with `QuorumRecovery`. 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: cockroachdb#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.

Fixes: cockroachdb#148726
Epic: CRDB-48925
Release note: None
@shubhamdhama shubhamdhama changed the title server,cli: extract NodeService and register with DRPC server server,cli: extract QuorumRecovery and register with DRPC server Jun 26, 2025
@cthumuluru-crdb cthumuluru-crdb requested a review from tbg June 26, 2025 12:21
@shubhamdhama
Copy link
Contributor Author

TFTR!

bors r=tbg

@craig
Copy link
Contributor

craig bot commented Jul 3, 2025

@craig craig bot merged commit e2d1e23 into cockroachdb:master Jul 3, 2025
22 checks passed
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.

drpc: split and register Internal service with DRPC server

3 participants