-
### Your question
how to make sure leader response?
如何确保一定是leader响应请求而不是其他follower?
### Your scenes
客户端向集群发起请求,每个节点都可能收到该请求,如果当前节点不是leader,如何处理
-
### Your question
很抱歉我的英语不是很好,很难用英语准确描述我的问题。
目前我在单台机器上启动了十个进程,并且创建了40个 raft group .
运行过程中发现cpu负载偏高
我想请问一下目前我遇到的这个现象是否正常?
### Your scenes
Describe your use scenes (why need this feature)
#…
-
com.alipay.sofa.jraft.rhea.DefaultPlacementDriverService#handleGetClusterInfoRequest
```java
@Override
public void handleGetClusterInfoRequest(final GetClusterInfoRequest request,
…
juaby updated
4 years ago
-
Windows10系统,rocksdb初始化抛如下异常:
org.rocksdb.RocksDBException: Compression type Snappy is not linked with the binary.
at org.rocksdb.RocksDB.open(Native Method)
at org.rocksdb.RocksDB.open(RocksDB.…
-
### Your question
出现这样的错误,对状态机有影响吗?需要做什么什么调整吗?
2019-11-12 18:19:02.372 ERROR leader [JRaft-NodeImpl-Disruptor-0]-c.a.s.jraft.util.LogExceptionHandler.handleEventException - Handle NodeImpl disrupt…
-
### Your question
com/alipay/sofa/jraft/RaftGroupService.java:130
```
this.node = RaftServiceFactory.createAndInitRaftNode(this.groupId, this.serverId, this.nodeOptions);
if (sta…
juaby updated
4 years ago
-
### Describe the bug
My is a sofa-jraft beginner,invoking PeerId the toString method discover result incorrect.
### Expected behavior
output result is a localhost:8080::1
### Actual behavior
…
-
### Your question
请问有jraft core的benchmark数据吗?我做性能测试数据是
3台集群(jraft 版本1.2.6)
uname :4.9.0-0.bpo.6-amd64 #1 SMP Debian 4.9.88-1+deb9u1~bpo8+1 (2018-05-13) x86_64 GNU/Linux
状态机都是空方法
task data =1k 数…
-
### Your question
sofa-jraft介绍文档说支持非对称网络分区容忍性,为何在代码中没看到体现?
好了好几遍NodeImpl.java中对pre_vote和request_vote的处理,似乎好像没有文档说的那种。
附上文档链接:
https://www.jianshu.com/p/59d3b4f7b21e
### Your scenes
Describe …
-
### Your question
如果设置ReadOnlyLeaseBased 开启了Lease Read,
在Lease Read的情况下,是不是每个节点raftOptions的electionTimeoutMs应该设置为一致 ?
### Your scenes
1.
Lease Read 的情况下, 如果electionTimeoutMs不设置为同样的值,大家的超时时间不…
htner updated
4 years ago