cockroachdb / cockroachdb/cockroach

storage: bounded EFOS pinning

Open
#122,139 0 comments 0 reactions 0 assignees View on GitHub
A-storage C-enhancement T-storage
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

Cockroach repository companion issue for https://github.com/cockroachdb/pebble/issues/3500. Now that we use "eventually file-only snapshots," we're more susceptible to space amplification from long-running operations that keep an iterator version pinned. To reduce the space amplification, we can take advantage of an EFOS's bounds to only pin sstables that the EFOS will read.

Jira issue: CRDB-37724

Epic CRDB-37583

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.