lib/logstorage: it is safe using | unroll pipe in live tailing

`| unroll` pipe can make multiple copies of rows from the input row.
This doesn't break live tailing, so allow `| unroll` pipe in live tailing.
This commit is contained in:
Aliaksandr Valialkin 2024-06-27 19:43:19 +02:00
parent 48780d9ec5
commit 0730f1324d
No known key found for this signature in database
GPG key ID: 52C003EE2BCDB9EB
2 changed files with 2 additions and 2 deletions

View file

@ -2075,5 +2075,5 @@ func TestQueryCanLiveTail(t *testing.T) {
f("* | unpack_json", true)
f("* | unpack_logfmt", true)
f("* | unpack_syslog", true)
f("* | unroll by (a)", false)
f("* | unroll by (a)", true)
}

View file

@ -33,7 +33,7 @@ func (pu *pipeUnroll) String() string {
}
func (pu *pipeUnroll) canLiveTail() bool {
return false
return true
}
func (pu *pipeUnroll) optimize() {