zergvszerg
zergvszerg
@PFZheng 问下计划做合并心跳吗?
I'm guessing the big difference be that Node::is_leader() try to acquire a bthread_mutex_t before reading the |_state|, while the fsm(example::Counter) just use an atomic load
请问有计划实现合并心跳吗?
@yc1037642433 master想让新创建的raft group某个节点快速成为leader而不必等待election timeout,可以调用Node::vote(0)
/usr/local/lib可能不属于默认搜索路径吧,看下/etc/ld.so.conf或者/etc/ld.so.conf.d/*
运行时ulimit改一下不就行了?文件描述符几百万个不是正常操作?
节点掉线以后应该由外围的daemon/master来调用remove_peer(),而不是follower自己调用,否则正常的上线也影响peer set就是无谓地影响可用性。 假如是节点离线,remove_peer(), 修复了,再上线,这么个场景,从leader日志看,从leader无法连上:19091这个peer,自然无法add_peer()
In our cloud infrastruction a whole lot of servers are still running Centos 6.5 where the latest gcc is still devtoolset-9. I'm wondering if that will work.
奇怪,两次rpc难道用的是同一个seqId?如果是同一个seqId就不是两次rpc而是一次rpc超时后不close又立即重试了吧,收到上一个请求的响应难道不符合预期吗?@scottzzq