mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-30 07:40:06 +01:00
e7959094f6
The prioritizing could lead to big merge starvation, which could end up in too big number of parts that must be merged into big parts. Multiple big merges may be initiated after the migration from v1.39.0 or v1.39.1. It is OK - these merges should be finished soon, which should return CPU and disk IO usage to normal levels. Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/648 Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/618
11 lines
305 B
Go
11 lines
305 B
Go
package storagepacelimiter
|
|
|
|
import (
|
|
"github.com/VictoriaMetrics/VictoriaMetrics/lib/pacelimiter"
|
|
)
|
|
|
|
// Search limits the pace of search calls when there is at least a single in-flight assisted merge.
|
|
//
|
|
// See https://github.com/VictoriaMetrics/VictoriaMetrics/issues/291
|
|
var Search = pacelimiter.New()
|