Skip to content

Commit 60984b1

Browse files
committed
feat: temp feature for cover exception
1 parent dd83be4 commit 60984b1

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

app/app/application/l7_flow_tracing.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1196,6 +1196,13 @@ def flow_field_conflict(cls, lhs: TraceInfo, rhs: TraceInfo) -> bool:
11961196
return lhs.span_id != rhs.span_id
11971197
# end of trace_id compare
11981198
# 当没有 trace_id 时,才尝试执行一遍完整的比较
1199+
1200+
# 临时版本,如果一边有,另一边没有,说明解析有问题
1201+
# 那后面的也不用比较了,一定是一边有,另一边空,此场景暂未知道根因
1202+
# 只能先出个临时分支覆盖一下
1203+
if lhs.trace_id or rhs.trace_id:
1204+
return False
1205+
# 这里如果两个都是空,那还是要正经比较一下的,避免真有异常
11991206

12001207
is_http2_grpc_and_differ = False
12011208

0 commit comments

Comments
 (0)