diff --git a/pkg/storage/pebble.go b/pkg/storage/pebble.go index aeb7cc741a01..67abfe72dcda 100644 --- a/pkg/storage/pebble.go +++ b/pkg/storage/pebble.go @@ -891,6 +891,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]