diff --git a/pkg/storage/pebble.go b/pkg/storage/pebble.go index 3847dd316260..6d41e1b2f43b 100644 --- a/pkg/storage/pebble.go +++ b/pkg/storage/pebble.go @@ -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]