mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-15 16:30:55 +01:00
lib/storage: do not report about the need of free disk space if parts cannot be merged due to too big write amplification
This commit is contained in:
parent
887a3c317f
commit
c0bd208c77
@ -1381,7 +1381,7 @@ func appendPartsToMerge(dst, src []*partWrapper, maxPartsToMerge int, maxRows ui
|
||||
}
|
||||
if maxM < minM {
|
||||
// There is no sense in merging parts with too small m.
|
||||
return dst, needFreeSpace
|
||||
return dst, false
|
||||
}
|
||||
return append(dst, pws...), needFreeSpace
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user