mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
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:
parent
48780d9ec5
commit
0730f1324d
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
}
|
||||
|
|
|
@ -33,7 +33,7 @@ func (pu *pipeUnroll) String() string {
|
|||
}
|
||||
|
||||
func (pu *pipeUnroll) canLiveTail() bool {
|
||||
return false
|
||||
return true
|
||||
}
|
||||
|
||||
func (pu *pipeUnroll) optimize() {
|
||||
|
|
Loading…
Reference in a new issue