wwbmmm commented on issue #1664:
URL: 
https://github.com/apache/incubator-brpc/issues/1664#issuecomment-1132520442

   > 是的,B将controller done request response 
放到List,然后自己就结束了执行流程。这个请求会被A从List里面取出来处理,并且应答给客户端。这样对于rpcz会有问题是吗?
   > 
我这里是不是应该让A从List取出B的请求,首先执行一下span->AsParent(),否则用的还是A请求的span信息,但是A请求以及它的span这时候已经释放了。
   
   span->AsParent()是为了让client端创建span的时候能找到parent 
span,但是按你的说法“这个服务就是一个后端的server,不会再调用其他server了”,那么应该没用到client,所以是否执行span->AsParent()应该无影响?
   


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to