From dfd22eb557ebb00432f3abab6f236e428490d046 Mon Sep 17 00:00:00 2001 From: "chao.wu" Date: Thu, 26 May 2022 15:00:48 +0800 Subject: [PATCH 1/3] The context of obtaining span is modified, which will affect the removal of span in tornado request link --- skywalking/trace/context.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/skywalking/trace/context.py b/skywalking/trace/context.py index ec359d99..90d0c035 100644 --- a/skywalking/trace/context.py +++ b/skywalking/trace/context.py @@ -46,10 +46,7 @@ def _spans(): # need to do this because can't set mutable default = [] in conte return spans def _spans_dup(): - spans = __spans.get()[:] - __spans.set(spans) - - return spans + return __spans.get() __spans.set([]) From d3ca2f435db20e7261066eb313dbc763d9912bae Mon Sep 17 00:00:00 2001 From: "chao.wu" Date: Fri, 27 May 2022 10:31:51 +0800 Subject: [PATCH 2/3] update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ab07e118..4bc7cf32 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ - Drop support for flask 1.x due to dependency issue in Jinja2 and EOL (#195) - Fixes: + - Fix the problem of multiple requests for the same traceId in Tornado framework (#9133) - Spans now correctly reference finished parents (#161) - Remove potential password leak from Aiohttp outgoing url (#175) - Handle error when REMOTE_PORT is missing in Flask (#176) From d9c13793a6fb3dc25dd766d67de3aacbbe1b7a12 Mon Sep 17 00:00:00 2001 From: YueLangsugar <48346272+YueLangsugar@users.noreply.github.com> Date: Fri, 27 May 2022 10:54:31 +0800 Subject: [PATCH 3/3] Update CHANGELOG.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 吴晟 Wu Sheng --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4bc7cf32..a19b4e00 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ - Drop support for flask 1.x due to dependency issue in Jinja2 and EOL (#195) - Fixes: - - Fix the problem of multiple requests for the same traceId in Tornado framework (#9133) + - Fix the problem of multiple requests for the same traceId in Tornado framework (#209) - Spans now correctly reference finished parents (#161) - Remove potential password leak from Aiohttp outgoing url (#175) - Handle error when REMOTE_PORT is missing in Flask (#176)