提交 e25b1e60 编写于 作者: A aderm 提交者: wu-sheng

improve if find parent, quick exit (#4107)

上级 ab39cecb
......@@ -382,6 +382,8 @@ public class TraceQueryService implements Service {
for (Span subSpan : spans) {
if (segmentParentSpanId.equals(subSpan.getSegmentSpanId())) {
hasParent = true;
// if find parent, quick exit
break;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册