cockroachdb / cockroachdb/cockroach

kv: Index backfill can OOM on low memory configurations

Open
#133,114 1 comment 0 reactions 0 assignees View on GitHub
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

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.