cockroachdb / cockroachdb/cockroach

storage,kv: read error injection roachtest

Open
#117,870 0 comments 0 reactions 0 assignees View on GitHub
A-storage C-cleanup T-kv
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

Pebble has randomized error injection within some unit tests that ensure errors encountered in read paths are surfaced through the top-level Iterator. However, I don't believe we have much end-to-end testing of error injection within Cockroach. We could use Pebble's vfs error injection within a roachtest to ensure that errors are handled appropriately end-to-end.

We also need end-to-end testing of write errors, but that's more challenging and shouldn't hold up the read testing.

Jira issue: CRDB-35395

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.