You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
db: change MaxConcurrentCompactions() to return a range
`MaxConcurrentCompactions()` returns an upper limit on the compaction
concurrency. Within this upper limit, Pebble decides what the
concurrency limit is (depending on L0 amplification and compaction debt).
There are cases where we want more concurrency for other reasons (like
space amp). Having a knob can be useful to tweak things in a
production environment.
This change makes `MaxConcurrentCompactions()` return a "baseline
limit" and an "upper limit". The baseline limit is the "starting"
value for the max concurrency, which Pebble can increase dynamically
up to the upper limit. Prior to this change, the (implicit) baseline
limit was always 1.
0 commit comments