wangbo commented on issue #1118: URL: https://github.com/apache/brpc/issues/1118#issuecomment-1672981370
我这边也有类似需求,就是doris里一个查询是在多个节点执行的,由于目前用的是push模型,所以叶子结点的机器会父结点的机器推数据。如果是父结点的机器挂了,那么叶子结点的机器可以发一个信号给协调者有机器挂了,需要cancel所有查询。 但是如果是叶子节点的机器挂了,就没发主动感知这个事情,查询很难做到快速失败 所以如果rpc层有法子解决就好了,比如叶子结点挂了,父结点的机器可以在健康检查中感知到,此时发起一个回调通知协调者快速cancel查询 -- 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