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

server: improve the status.Ranges RPC #39613

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

andreimatei
Copy link
Contributor

Make the set of data it returns controllable by the caller, and make it
suitable to be used by the upcoming ranges constraint conformance
report. This guy needs way less data than the RPC currently returns -
it only needs the descriptor and the lease info. But it needs the
results ordered by key.
Also add a streaming version, to be used by the reporting code. That
client will stream and merge results from all the nodes.

Release note: None

And also add an option for key ordering besides the existing range id
ordering.

Release note: None
... to use a replica visitor instead of iterating through range
descriptors in the engine. This should be both cheaper (iterate through
an in-mem data structure instead of storage, and avoid a lookup per
range) and also more standard.

Release note: None
Make the set of data it returns controllable by the caller, and make it
suitable to be used by the upcoming ranges constraint conformance
report. This guy needs way less data than the RPC currently returns -
it only needs the descriptor and the lease info. But it needs the
results ordered by key.
Also add a streaming version, to be used by the reporting code. That
client will stream and merge results from all the nodes.

Release note: None
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@bobvawter
Copy link
Member

bobvawter commented Mar 10, 2020

CLA assistant check
All committers have signed the CLA.

@tbg tbg added the X-noremind Bots won't notify about PRs with X-noremind label May 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
X-noremind Bots won't notify about PRs with X-noremind
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants