liubao68 commented on code in PR #4057:
URL: 
https://github.com/apache/servicecomb-java-chassis/pull/4057#discussion_r1405683991


##########
handlers/handler-tracing-zipkin/src/main/java/org/apache/servicecomb/tracing/zipkin/ZipkinConsumerDelegate.java:
##########
@@ -50,7 +50,7 @@ class ZipkinConsumerDelegate implements ZipkinTracingDelegate 
{
   }
 
   @Override
-  public Span createSpan(Invocation invocation) {
+  public synchronized Span createSpan(Invocation invocation) {
     return handler.handleSend(requestWrapper.invocation(invocation));
   }

Review Comment:
   This fix seems not correct. 
HttpClientResponseWrapper/HttpClientRequestWrapper should be invocation scope, 
not bean scope.  Synchronization can not fix this problem .  



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to