Skip to content

Commit

Permalink
app/vlselect: follow-up for 0514091 (VictoriaMetrics#6004)
Browse files Browse the repository at this point in the history
removes println lines
  • Loading branch information
f41gh7 authored Mar 22, 2024
1 parent 0c0ed61 commit 43b5d8b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions app/vlselect/logsql/sort_writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ func (sw *sortWriter) writeToUnderlyingWriterLocked(p []byte) bool {
}
var linesLeft int
p, linesLeft = trimLines(p, sw.maxLines-sw.linesWritten)
println("DEBUG: end trimLines", string(p), linesLeft)
sw.linesWritten += linesLeft
}
if _, err := sw.w.Write(p); err != nil {
Expand All @@ -133,7 +132,6 @@ func (sw *sortWriter) writeToUnderlyingWriterLocked(p []byte) bool {
}

func trimLines(p []byte, maxLines int) ([]byte, int) {
println("DEBUG: start trimLines", string(p), maxLines)
if maxLines <= 0 {
return nil, 0
}
Expand Down
1 change: 1 addition & 0 deletions docs/VictoriaLogs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ according to [these docs](https://docs.victoriametrics.com/VictoriaLogs/QuickSta

## tip

* BUGFIX: removes `println` lines after 0514091948cf8e00e42f44318c0e5e5b63b6388f.
## [v0.5.0](https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v0.5.0-victorialogs)

Released at 2024-03-01
Expand Down

0 comments on commit 43b5d8b

Please sign in to comment.