diff --git a/lib/logstorage/storage_search.go b/lib/logstorage/storage_search.go index fcc82b6dd..61fdc45f3 100644 --- a/lib/logstorage/storage_search.go +++ b/lib/logstorage/storage_search.go @@ -191,6 +191,7 @@ func getEmptyStrings(rowsCount int) []string { if n := rowsCount - cap(values); n > 0 { valuesNew := append(values[:cap(values)], make([]string, n)...) emptyStrings.Store(&valuesNew) + values = valuesNew } return values[:rowsCount] }