brpc icon indicating copy to clipboard operation
brpc copied to clipboard

brpc is an Industrial-grade RPC framework using C++ Language, which is often used in high performance system such as Search, Storage, Machine learning, Advertisement, Recommendation etc. "brpc" means...

Results 414 brpc issues
Sort by recently updated
recently updated
newest added

**Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)** health_check_path 目前是全局维度的(gflags方式设置),实际上每个服务的健康检查接口可能都不一样,因此这个应该是服务维度的。 **Describe the solution you'd like (描述你期望的解决方法)** 在ChannelOptions中增加health_check_path,并且优先级高于全局的health_check_path **Describe alternatives you've considered (描述你想到的折衷方案)** **Additional context/screenshots (更多上下文/截图)**

feature

What does the error mean and why it happens?

The `StreamInputHandler` on_received_messages function has return value, but no one will handle the return value. I think it is better to make it possible for handling the failure

我想尝试用brpc来访问etcd的kv服务,实现了一个put key value的功能,demo代码如下,功能是正常的,但是我想用brpc实现watch功能,就出现问题了。 ``` void PutKeyValue(brpc::Channel& channel) { brpc::Controller cntl; brpc::URI& uri = cntl.http_request().uri(); uri.set_path("/v3/kv/put"); cntl.http_request().set_method(brpc::HTTP_METHOD_POST); butil::IOBufBuilder os; os

**Describe the bug (描述bug)** 创建子进程,然后在子进程中调用start_brpc_server 接口,之后出现brpc::Acceptor::StartAccept和brpc::Acceptor::BeforeRecycle之间构成死锁,curl访问该监听端口,卡住。详情见如下堆栈 **To Reproduce (复现方法)** 1.创建子进程,然后在子进程中调用start_brpc_server 接口 2.杀掉子进程,父进程会有个监听线程,监听到子进程挂掉之后,又拉起子进程(之后会重复步骤1的过程)。 **Expected behavior (期望行为)** 子进程启动之后,端口能正常监听 **Versions (各种版本)** OS: 基于linux内核3.10.0的自定义系统 Compiler: gcc 4.7 brpc: 2019年fork过去的版本 protobuf: **Additional context/screenshots (更多上下文/截图)** (gdb)...

**Describe the bug (描述bug)** 在mysql源码中,使用了brpc的client端,随后了dummy server,然后在brpc的页面中开启contention,排查锁的竞态,结果出现以下错误: ``` Argument "MSWin32" isn't numeric in numeric eq (==) at ./rpc_data/profiling/pprof.pl line 4898. Argument "linux" isn't numeric in numeric eq (==) at ./rpc_data/profiling/pprof.pl line...

**Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)** 当前brpc对thrift协议,仅支持单个参数。thrift协议的多参数形式应用广泛,国内一些公司内部也在使用。希望brpc官方也能支持多参数 **Describe the solution you'd like (描述你期望的解决方法)** brpc同时支持单参数、多参数 **Describe alternatives you've considered (描述你想到的折衷方案)** **Additional context/screenshots (更多上下文/截图)** 1). 通过 xxx_args来实现多参数: 1.1. client:...

**Describe the bug (描述bug)** Hi, we are using brpc and bthread as our rpc framework and runtime. Our tasks are lightweight, the workload is like handling a request and read...

performance

FIX BUG(Issue #1776): Switching pthread causes coredump when bthread local variable is destructed If the bthread local destructor specified by bthread_key_create calls bthread_mutex_lock it may cause TaskGroup::task_runner->return_keytable to switch pthreads...