doc001

Results 124 comments of doc001

进程退出的时候触发的?

> > 进程退出的时候触发的? > > 是的。 在 main 函数里对 node 执行 shutdown & join 保证退出干净了

> > > > 进程退出的时候触发的? > > > > > > > > > 是的。 > > > > > > 在 main 函数里对 node 执行 shutdown & join 保证退出干净了...

> > > > > > 进程退出的时候触发的? > > > > > > > > > > > > > > > 是的。 > > > > > > >...

> 从coredump的所有线程堆栈看,没有看到main函数。所以这个是退出了吗? 嗯,那就是退出了

有可能是braft的问题,OnPreVoteRPCDone 这个可能是客户端侧就报错了,那不在brpc server的控制范围内

join里需要增加一个等待node在飞rpc结束的逻辑

> > join里需要增加一个等待node在飞rpc结束的逻辑 > > 我应该明白了,就是brpc_server内的stop和join,只能管理自身作为server的rpc请求,如果自身是作为rpc的客户端,那么回调其实现在node里面,都需要添加相应的计数,然后在join里等待是吧? 对,是的,braft 库本身的问题我们有空也修一下

We are testing a feature called pull based learner, and I think this is the one you need. When the feature become stable, we will synchronize it to github.

I think there is no other way to speed up snapshot transfer, the files in snapshot are transferred sequentially.