Skip to content

Commit f04866c

Browse files
Fix thrift plugin generate duplicate traceid (#467)
1 parent 122d006 commit f04866c

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Release Notes.
1919
* Fix servicecomb plugin trace break.
2020
* Adapt Armeria's plugins to the latest version 1.22.x
2121
* Fix tomcat-10x-plugin and add test case to support tomcat7.x-8.x-9.x.
22+
* Fix thrift plugin generate duplicate traceid when `sendBase` error occurs
2223

2324
#### Documentation
2425
* Update docs of Tracing APIs, reorganize the API docs into six parts.

apm-sniffer/apm-sdk-plugin/thrift-plugin/src/main/java/org/apache/skywalking/apm/plugin/thrift/client/TServiceClientInterceptor.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ public void handleMethodException(EnhancedInstance objInst,
9292
Class<?>[] argumentsTypes,
9393
Throwable t) {
9494
ContextManager.activeSpan().log(t);
95+
ContextManager.stopSpan();
9596
}
9697

9798
private String getArguments(String method, TBase base) {

0 commit comments

Comments
 (0)