Skip to content

storage: disk space not reclaimed even though live bytes are deleted #90149

@rafiss

Description

@rafiss

Describe the problem

@glennfawcett ran an experiment with row-level TTL. Even though rows are deleted by the job, and the KV layer seemingly thinks the space is being freed, the disk usage continues steadily increasing.

To Reproduce

See instructions in https://cockroachlabs.slack.com/archives/C028YAH6Y3V/p1665959426411949

Expected behavior

Disk space should be freed.

Additional data / screenshots

image

Environment:

  • CockroachDB version v22.2.0-beta.3

Jira issue: CRDB-20616

Metadata

Metadata

Assignees

Labels

A-row-level-ttlA-storageRelating to our storage engine (Pebble) on-disk storage.C-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.T-storageStorage Teambranch-masterFailures and bugs on the master branch.branch-release-22.2Used to mark GA and release blockers, technical advisories, and bugs for 22.2

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions