cockroachdb / cockroachdb/cockroach
storage: detect concurrent batch Closes and Applys in test
Open
A-storage
C-cleanup
quality-friday
T-storage
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
One possible explanation for #102092 is a `Batch.Close` running before or concurrently with a `Batch.Apply`. We could extend the approach we applied to iterators in `storage/pebbleiter` to detect this sort of thing in test builds.
Jira issue: CRDB-28167
Contributor guide
Assessment
This issue has not been assessed yet.