Skip to content

Commit 9be3c09

Browse files
committed
Enable Raft options in an instance file
Raft consensus is enabled by default on every instance in a cluster. Every instance participates in leader elections. Closes #42
1 parent cba5d2f commit 9be3c09

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

resources/tarantool/jepsen.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ box.cfg {
1616
read_only = %TARANTOOL_IS_READ_ONLY%;
1717
replication_synchro_quorum = 2;
1818
replication_synchro_timeout = 0.2;
19+
replication_timeout = 2;
20+
election_is_enabled = true;
21+
election_is_candidate = true;
22+
election_timeout = 0.3;
1923
log_level = 6;
2024
log_nonblock = false;
2125
too_long_threshold = 0.5;

0 commit comments

Comments
 (0)