cockroachdb / cockroachdb/cockroach
kv: Index backfill can OOM on low memory configurations
Open
branch-master
C-bug
O-perturbation
P-3
T-sql-foundations
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
**Describe the problem**
The perturbation/metamorphic tests can fail with an OOM on low memory configurations.
**To Reproduce**
Add back the low memory configuration as the first option to `var memOptions`.
Run the roachtest `perturbation/metamorphic/backfill` with the seed `8450888460406580954`.
```
COCKROACH_RANDOM_SEED=8450888460406580954 roachtest run perturbation/metamorphic/backfill --cpu-quota 2000
```
Note that a node will crash with an OOM.
**Expected behavior**
Nodes should not crash even in low memory configurations. They should succeed and complete the task slower.
Jira issue: CRDB-43460
Epic CRDB-61004
Contributor guide
Assessment
This issue has not been assessed yet.