mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-12 12:46:23 +01:00
app/vlselect: follow-up for 0514091948
(#6004)
removes println lines
(cherry picked from commit 43b5d8bc7a
)
This commit is contained in:
parent
7a5f3e8ef9
commit
60d64edd6e
@ -123,7 +123,6 @@ func (sw *sortWriter) writeToUnderlyingWriterLocked(p []byte) bool {
|
|||||||
}
|
}
|
||||||
var linesLeft int
|
var linesLeft int
|
||||||
p, linesLeft = trimLines(p, sw.maxLines-sw.linesWritten)
|
p, linesLeft = trimLines(p, sw.maxLines-sw.linesWritten)
|
||||||
println("DEBUG: end trimLines", string(p), linesLeft)
|
|
||||||
sw.linesWritten += linesLeft
|
sw.linesWritten += linesLeft
|
||||||
}
|
}
|
||||||
if _, err := sw.w.Write(p); err != nil {
|
if _, err := sw.w.Write(p); err != nil {
|
||||||
@ -133,7 +132,6 @@ func (sw *sortWriter) writeToUnderlyingWriterLocked(p []byte) bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func trimLines(p []byte, maxLines int) ([]byte, int) {
|
func trimLines(p []byte, maxLines int) ([]byte, int) {
|
||||||
println("DEBUG: start trimLines", string(p), maxLines)
|
|
||||||
if maxLines <= 0 {
|
if maxLines <= 0 {
|
||||||
return nil, 0
|
return nil, 0
|
||||||
}
|
}
|
||||||
|
@ -19,6 +19,7 @@ according to [these docs](https://docs.victoriametrics.com/VictoriaLogs/QuickSta
|
|||||||
|
|
||||||
## tip
|
## tip
|
||||||
|
|
||||||
|
* BUGFIX: removes `println` lines after 0514091948cf8e00e42f44318c0e5e5b63b6388f.
|
||||||
## [v0.5.0](https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v0.5.0-victorialogs)
|
## [v0.5.0](https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v0.5.0-victorialogs)
|
||||||
|
|
||||||
Released at 2024-03-01
|
Released at 2024-03-01
|
||||||
|
Loading…
Reference in New Issue
Block a user