cockroachdb / cockroachdb/cockroach

storage: detect concurrent batch Closes and Applys in test

Open
#103,737 0 comments 0 reactions 0 assignees View on GitHub
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

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.