Skip to content

Commit

Permalink
Merge pull request #134471 from cockroachdb/blathers/backport-release…
Browse files Browse the repository at this point in the history
…-24.3-134441

release-24.3: storage: disable multilevel compactions
  • Loading branch information
itsbilal authored Nov 7, 2024
2 parents b6ed85c + f579b4c commit 67a5ba5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/storage/pebble.go
Original file line number Diff line number Diff line change
Expand Up @@ -890,6 +890,10 @@ func DefaultPebbleOptions() *pebble.Options {
Lower: EncodeMVCCKey(MVCCKey{Key: keys.LocalRangeLockTablePrefix}),
Upper: EncodeMVCCKey(MVCCKey{Key: keys.LocalRangeLockTablePrefix.PrefixEnd()}),
}
// Disable multi-level compaction heuristic for now. See #134423
// for why this was disabled, and what needs to be changed to reenable it.
// This issue tracks re-enablement: https://github.com/cockroachdb/pebble/issues/4139
opts.Experimental.MultiLevelCompactionHeuristic = pebble.NoMultiLevel{}

for i := 0; i < len(opts.Levels); i++ {
l := &opts.Levels[i]
Expand Down

0 comments on commit 67a5ba5

Please sign in to comment.