This is an automated email from the ASF dual-hosted git repository. hanahmily pushed a commit to branch bug/trace-cond in repository https://gitbox.apache.org/repos/asf/skywalking-banyandb.git
commit a241fc03138aa81acaeeabec1fc70318bb6bc6c8 Author: Hongtao Gao <[email protected]> AuthorDate: Mon Mar 30 08:24:04 2026 +0000 Revert unconditional DummyFilter for entity tags --- pkg/query/logical/tag_filter.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkg/query/logical/tag_filter.go b/pkg/query/logical/tag_filter.go index c09f64c05..103e3b90d 100644 --- a/pkg/query/logical/tag_filter.go +++ b/pkg/query/logical/tag_filter.go @@ -102,9 +102,7 @@ func BuildTagFilter(criteria *modelv1.Criteria, entityDict map[string]int, schem if err != nil { return nil, err } - if _, ok := entityDict[cond.Name]; ok { - // Entity tags are handled at the series routing level and are not stored in tag data. - // They should not be included in row-level filters. + if _, ok := entityDict[cond.Name]; ok && !hasGlobalIndex { return DummyFilter, nil } for _, skippedTagName := range skippedTagNames {
