From 60d64edd6efb0a14f1fb63ccb3b3717d919109c0 Mon Sep 17 00:00:00 2001 From: Nikolay Date: Fri, 22 Mar 2024 08:46:40 +0100 Subject: [PATCH] app/vlselect: follow-up for 0514091948cf8e00e42f44318c0e5e5b63b6388f (#6004) removes println lines (cherry picked from commit 43b5d8bc7ab0b9d3d0b0c4b99b6a8364871fb965) --- app/vlselect/logsql/sort_writer.go | 2 -- docs/VictoriaLogs/CHANGELOG.md | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/vlselect/logsql/sort_writer.go b/app/vlselect/logsql/sort_writer.go index 291d401b26..3ad0fbf706 100644 --- a/app/vlselect/logsql/sort_writer.go +++ b/app/vlselect/logsql/sort_writer.go @@ -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 { @@ -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 } diff --git a/docs/VictoriaLogs/CHANGELOG.md b/docs/VictoriaLogs/CHANGELOG.md index 49d5797948..7b14d2bf28 100644 --- a/docs/VictoriaLogs/CHANGELOG.md +++ b/docs/VictoriaLogs/CHANGELOG.md @@ -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