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

kv: add mechanism to paginate versions of a row #61623

Closed
ajwerner opened this issue Mar 8, 2021 · 1 comment
Closed

kv: add mechanism to paginate versions of a row #61623

ajwerner opened this issue Mar 8, 2021 · 1 comment
Labels
C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) no-issue-activity T-kv KV Team X-stale

Comments

@ajwerner
Copy link
Contributor

ajwerner commented Mar 8, 2021

Is your feature request related to a problem? Please describe.

Cockroach's KV layer today only exposes versions of a key via the ExportRequest. There's a feeling more generally that the ScanRequest should be endowed with all of the powers of ExportRequest (#19749). One problem with all of this, however, is that we have no way to talk about resumption of a scan in the middle of a row. This is a major impediment to proper memory management for such operations.

Describe the solution you'd like
We'd need some new API parameter which allows requests and resume spans to indicate timestamp bounds.

Jira issue: CRDB-2980

@ajwerner ajwerner added the C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) label Mar 8, 2021
@jlinder jlinder added the T-kv KV Team label Jun 16, 2021
@github-actions
Copy link

We have marked this issue as stale because it has been inactive for
18 months. If this issue is still relevant, removing the stale label
or adding a comment will keep it active. Otherwise, we'll close it in
10 days to keep the issue queue tidy. Thank you for your contribution
to CockroachDB!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) no-issue-activity T-kv KV Team X-stale
Projects
No open projects
Archived in project
Development

No branches or pull requests

2 participants