mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-22 16:36:27 +01:00
29bbab0ec9
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()
|