facebook / facebook/rocksdb

Make compaction_pri dynamically changable

Open
#12,181 1 comment 0 reactions 0 assignees View on GitHub
feature-request up-for-grabs
Dominant language
C++
Stars
32.1k
Forks
6.9k
Avg merge
32m
Merged PRs (30d)
1

Description

### Expected behavior
When sequentially loading data, we want to set `compaction_pri = kOldestSmallestSeqFirst`.

After sequentially loading data, we want to set `compaction_pri = kMinOverlappingRatio`.

### Actual behavior

`compaction_pri` is immutable and can not be dynamically changable.

### Steps to reproduce the behavior
NA

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.