You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some cases, a query of combination of stream filter and logic filter doesn't return expected results.
Ingested log: {"A": "a", "B": "b", "C": "c", "_msg":"message"}, A and B are stream fields, and C is other field Query: _stream:{A="a"} AND _stream:{B="b"} Expected: return the ingested log Actual: return nothing
Hi, @valyala, PTAL this line. Should initStreamFilters take so.tenantIDs instead of tenantIDs? tenantIDs is set to nil when a common stream filter exists, so tenantIDs is not properly set for stream filters of f(code), therefore streamIDs cannot be collected correctly later(code).
Describe the bug
In some cases, a query of combination of stream filter and logic filter doesn't return expected results.
Ingested log:
{"A": "a", "B": "b", "C": "c", "_msg":"message"}
,A
andB
are stream fields, andC
is other fieldQuery:
_stream:{A="a"} AND _stream:{B="b"}
Expected: return the ingested log
Actual: return nothing
To Reproduce
test data
query results
Version
v0.7.0-victorialogs
Logs
No response
Screenshots
No response
Used command-line flags
No response
Additional information
It seems the reason is searchStreamIDs can't get correct
streamIDs
.The text was updated successfully, but these errors were encountered: