mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
app/vmselect/promql: update comment to be consistent with an implementation
Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com>
This commit is contained in:
parent
52d7d601fe
commit
d861062769
1 changed files with 1 additions and 1 deletions
|
@ -1044,7 +1044,7 @@ func fixBrokenBuckets(i int, xss []leTimeseries) {
|
|||
// Buckets are already sorted by le, so their values must be in ascending order,
|
||||
// since the next bucket includes all the previous buckets.
|
||||
// If the next bucket has lower value than the current bucket,
|
||||
// then the current bucket must be substituted with the next bucket value.
|
||||
// then the next bucket must be substituted with the current bucket value.
|
||||
// See https://github.com/VictoriaMetrics/VictoriaMetrics/issues/2819
|
||||
if len(xss) < 2 {
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue