yanghao605 commented on issue #4035: URL: https://github.com/apache/servicecomb-java-chassis/issues/4035#issuecomment-1817774631
上面说的有点问题,问题出在了新增的requestWrapper和responseWrapper上,由于ZipkinConsumerDelegate 是多线程共用的对象,所以其中的对象实际也是多线程同时操作的,也即是说对于createSpan中的设置Invocation对象也是多线程的,所以会存在并发性的问题。  下图是我输出的日志,在同步的情况下,在每次调用开始时,都是需要刷新上次调用的Invocation的  -- 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]
