Skip to content

Commit 46c6536

Browse files
committed
Fix optimize span traceability performance #23777
**Phenomenon and reproduction steps** **Root cause and solution** **Impactions** **Test method** **Affected branch(es)** * main **Checklist** - [ ] Dependencies update required - [ ] Common bug (similar problem in other repo)
1 parent 4bdc38d commit 46c6536

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

app/app/application/l7_flow_tracing.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -867,12 +867,11 @@ def set_relate(self, _ids, related_map, id_to_related_tag):
867867
x_request_id_1_df = id_to_related_tag[_id]['x_request_id_1']
868868
if _id_df == self._id:
869869
continue
870-
if self.x_request_id_0 and self.x_request_id_0 == x_request_id_0_df:
870+
if self.x_request_id_0 and self.x_request_id_0 == x_request_id_1_df:
871871
related_map[_id_df][self._id] = related_map[_id_df].get(
872872
self._id, set())
873873
related_map[_id_df][self._id].add('xrequestid')
874-
if self.x_request_id_1 and self.x_request_id_1 == df.x_request_id_0[
875-
i]:
874+
if self.x_request_id_1 and self.x_request_id_1 == x_request_id_0_df:
876875
related_map[_id_df][self._id] = related_map[_id_df].get(
877876
self._id, set())
878877
related_map[_id_df][self._id].add('xrequestid')

0 commit comments

Comments
 (0)