Yifei Zhang

Results 7 issues of Yifei Zhang

Just a simple thought, hope to give you some idea.

Regarding https://github.com/jgroups-extras/jgroups-raft/issues/259, my test case still fails in 1.0.13. ```java @Test void bug2(@TempDir(cleanup = CleanupMode.ALWAYS) Path tmp) throws Exception { String clusterName = "node-cluster", dir = tmp.toString(); List nodes =...

Here is the test ```java @Test void levelDb(@TempDir(cleanup = CleanupMode.NEVER) Path tmp) throws Exception { String clusterName = "node-cluster", dir = tmp.toString(); Map props = Map.of("log_class", "org.jgroups.protocols.raft.LevelDBLog"); Consumer customizer =...

When calling `setAsync` in leader node, the RAFT will be called directly by current thread, because there is a `BlockingQueue.put` operation in the process, that make the process interruptible, and...

Cluster [A,B,C,D,E], A is the coordinator and leader, then cluster partition into [A,B,C] and [D,E], A is still the leader, then merge back to [D,A,B,C,E], D become the coordinator, and...

Snapshot requires the latest state of the state machine and the commit index, if taking the snapshot in a separated thread, although `RAFT.snapshot()` is synchronized but `RAFT.commitLogTo(long, boolean)` is not,...

A RAFT implementation of lock service