IGNITE-15705 Implemented election timeout auto-adjusting mechanism. Fixes #481
authorMirza Aliev <alievmirza@gmail.com>
Wed, 26 Jan 2022 12:14:59 +0000 (15:14 +0300)
committerSlava Koptilin <slava.koptilin@gmail.com>
Wed, 26 Jan 2022 12:14:59 +0000 (15:14 +0300)
commitf51281b2d5b697be98b03de8582839529fd7e192
treeb34e6cf593ecc27ceab3e87799d6a7dae730c6fb
parent1eff57bf4d53680792781ac403485f2329dc620e
IGNITE-15705 Implemented election timeout auto-adjusting mechanism. Fixes #481

Signed-off-by: Slava Koptilin <slava.koptilin@gmail.com>
modules/raft/src/integrationTest/java/org/apache/ignite/raft/jraft/core/ItNodeTest.java
modules/raft/src/main/java/org/apache/ignite/internal/raft/Loza.java
modules/raft/src/main/java/org/apache/ignite/internal/raft/server/impl/JraftServerImpl.java
modules/raft/src/main/java/org/apache/ignite/raft/jraft/core/NodeImpl.java
modules/raft/src/main/java/org/apache/ignite/raft/jraft/option/NodeOptions.java
modules/raft/src/main/java/org/apache/ignite/raft/jraft/rpc/impl/RaftGroupServiceImpl.java
modules/raft/src/main/java/org/apache/ignite/raft/jraft/util/ExponentialBackoffTimeoutStrategy.java [new file with mode: 0644]
modules/raft/src/main/java/org/apache/ignite/raft/jraft/util/NoopTimeoutStrategy.java [new file with mode: 0644]
modules/raft/src/main/java/org/apache/ignite/raft/jraft/util/TimeoutStrategy.java [new file with mode: 0644]
modules/raft/src/test/java/org/apache/ignite/raft/jraft/core/TestCluster.java
modules/raft/src/test/java/org/apache/ignite/raft/jraft/util/ExponentialBackoffTimeoutStrategyTest.java [new file with mode: 0644]