Skip to content

.*: add maxLevel parameter to db.Compact#2439

Draft
jayshrivastava wants to merge 1 commit into
cockroachdb:masterfrom
jayshrivastava:manual-compaction
Draft

.*: add maxLevel parameter to db.Compact#2439
jayshrivastava wants to merge 1 commit into
cockroachdb:masterfrom
jayshrivastava:manual-compaction

Conversation

@jayshrivastava

Copy link
Copy Markdown
Contributor

We want to be able to configure the depth of manual compactions. This pr adds a maxLevel paramter to db.Compact. This will allow manual compactions through cockroach to configure the level upto which we want these compactions to occur.

Fixes: #1622

@cockroach-teamcity

Copy link
Copy Markdown
Member

This change is Reviewable

We want to be able to configure the depth of manual compactions.
This pr adds a maxLevel paramter to db.Compact. This will allow
manual compactions through cockroach to configure the level
upto which we want these compactions to occur.

Fixes: cockroachdb#1622
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

db: allow configuring depth of manual compactions

3 participants