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

kvserver,sql: allow queries to ignore circuit breaker errors #77473

Open
erikgrinaker opened this issue Mar 8, 2022 · 1 comment
Open

kvserver,sql: allow queries to ignore circuit breaker errors #77473

erikgrinaker opened this issue Mar 8, 2022 · 1 comment
Labels
A-kv-replication Relating to Raft, consensus, and coordination. C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) T-kv KV Team

Comments

@erikgrinaker
Copy link
Contributor

erikgrinaker commented Mar 8, 2022

We recently added replica circuit breakers (#71806), which will cause requests against unavailable ranges to return ErrBreakerOpen errors instead of hanging forever.

In an unavailable range scenario we often want to access whatever data we can (i.e. on all other ranges) to export it into a new cluster. It would be useful if e.g. scans, exports, and backups had an escape hatch where they would simply ignore ErrBreakerOpen and omit the unavailable data, providing an easily accessible, rudimentary best-effort recovery option.

Jira issue: CRDB-13616

Epic CRDB-39898

@erikgrinaker erikgrinaker added C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) A-kv-replication Relating to Raft, consensus, and coordination. T-kv-replication labels Mar 8, 2022
@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
A-kv-replication Relating to Raft, consensus, and coordination. C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) T-kv KV Team
Projects
No open projects
Status: Incoming
Development

No branches or pull requests

1 participant