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

   > > > > > 这种可以用StartCancel+Join吧
   > > > > 
   > > > > 
   > > > > 这种其实还是想要第三个请求的rpc应答的,只是不需要同步等待它,等这个rpc应答后可以做一些更新的动作。
   > > > 
   > > > 
   > > > 这个场景的话,感觉第三个请求的span信息也是有用的吧?可能需要实现一个server span延迟submit的逻辑
   > > 
   > > 
   > > 如果不关心第三个请求的应答的span信息,在同步请求得到应答之后,是否可以按照如下逻辑处理不造成core呢? 具体步骤 
1、使用bthread_id_lock锁住controller, 2、然后设置controller里面的span为空, 3、释放span空间。
   > 
   > 可以是可以,但是感觉有点trick
   
   因为我们有需求,所以暂时先这么搞定,然后再讨论怎么处理这样的需求更合理。😂


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