cockroachdb / cockroachdb/pebble

background span policy enforcer

Open
#5,657 1 comment 0 reactions 0 assignees View on GitHub
A-storage F-tiered-storage T-storage
Dominant language
Go
Stars
6k
Forks
584
Avg merge
16h 35m
Merged PRs (30d)
5

Description

We currently allow overriding various settings for specific key spans via a span policy (most importantly, tiering will be controlled via the span policy).

We need a background process that periodically rechecks the span policies and triggers any compactions necessary to enforce the policy. It should also enforce compression settings and file sizes.

I see it as something that goes across the keyspace, throttling itself with a target of going once over everything every X hours. Perhaps the idea of the "cursor" used by download compactions can be reused here.

Jira issue: PEBBLE-1302

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.