mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-23 12:31:07 +01:00
lib/storage: make it clear that the number of big merge workers always equals to 4
See https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4915#issuecomment-1733922830
This commit is contained in:
parent
717c53af27
commit
15dfd94f3b
@ -1113,7 +1113,9 @@ func (pt *partition) getMaxSmallPartSize() uint64 {
|
||||
}
|
||||
|
||||
func (pt *partition) getMaxBigPartSize() uint64 {
|
||||
workersCount := getDefaultMergeConcurrency(4)
|
||||
// Always use 4 workers for big merges due to historical reasons.
|
||||
// See https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4915#issuecomment-1733922830
|
||||
workersCount := 4
|
||||
return getMaxOutBytes(pt.bigPartsPath, workersCount)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user