zyearn commented on issue #1207: URL: https://github.com/apache/incubator-brpc/issues/1207#issuecomment-674624447
cntl->SetFailed 的第一个参数是brpc的[Error](https://github.com/apache/incubator-brpc/blob/master/src/brpc/errno.proto),不是直接的grpc-status,和grpc-status的转化关系可以在grpc.cpp中可以找到,例如cntl->SetFailed(EREQUEST, ....)对应grpc-status=GRPC_INVALIDARGUMENT。在你的case里,目前没有brpc Error可以对应到grpc-status=6,可以先找其它可用的Error代替下,之后我们Fix下。 ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
