yanglimingcn commented on issue #1010:
URL: https://github.com/apache/brpc/issues/1010#issuecomment-1811994054

   > > > > 现在对于这种异步不等待的,如何能正确使用span呢?不等待的可以使用StartCancel+Join快速结束掉吗?@wwbmmm
   > > > 
   > > > 
   > > > 是否可以给Controller加一个强制关闭span功能的开关,对于异步不等待的请求可以开启这个开关?
   > > 
   > > 
   > > 
有时候不知道哪些请求是异步不等待的,比如,向三个副本写数据,回来两个就认为成功了,第三个请求的应答就不需要同步等了,所以这个请求的span信息也就不需要了。这是一种动态的取消某个rpc的span的过程。
   > 
   > 这种可以用StartCancel+Join吧
   
   这种其实还是想要第三个请求的rpc应答的,只是不需要同步等待它,等这个rpc应答后可以做一些更新的动作。


-- 
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: dev-unsubscr...@brpc.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org
For additional commands, e-mail: dev-h...@brpc.apache.org

Reply via email to