sofastack / sofa-jraft

A production-grade java implementation of RAFT consensus algorithm.
https://www.sofastack.tech/projects/sofa-jraft/
Apache License 2.0
3.56k stars 1.14k forks source link

Add Flexible Mode For JRaft #1013

Closed 1294566108 closed 1 year ago

1294566108 commented 1 year ago

Motivation:

Implementing flexible raft by Integrating QuorumNWR for SOFA-JRaft

Modification:

  1. Add rfc docs
  2. Add FlexibleRaft-Mode For SOFA-JRaft

Result:

Fixes #1003 .

使用docker启动6个ubuntu容器进行jepsen测试,其中ubuntu-1作为control节点,ubuntu-2~6作为test节点,并通过mvn install自测试代码到本地仓库进行jepsen测试。

测试结果如下所示:

atomic.bridge:

image image

atomic.configuration:

image image

atomic.crash:

image image

atomic.partition:

image image

atomic.partition-majority:

image image

atomic.pause:

image image

shihuili1218 commented 1 year ago

赞!我会尽快阅读。