cockroachdb / cockroachdb/cockroach

storage: surface persistent storage errors

Open
#111,774 2 comments 0 reactions 0 assignees View on GitHub
A-storage C-enhancement O-support P-3 T-storage
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

This issue tracks improving the observability of the system when Pebble is hitting recurring errors (especially IO errors).

This is inspired by a customer issue where compactions were erroring out with "too many open files". This lead to write stalls and eventually a crash due to an unrelated bug (triggered by the failures).

Some ideas:
- if Pebble is unable to complete flushes or compactions for some period of time, the node should be marked as "suspect" in the UI and there should be some kind of notice bubbled up.
- errors received from the filesystem should be observable e.g. in a metric

More ideas welcome @jbowens @sumeerbhola

Jira issue: CRDB-32064

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.