Ran
|
Jobs
1
|
Files
514
|
Run time
2min
|
Badge
Embed ▾
README BADGES
|
push
github
replication: anon replicas don't participate in elections Fixed a bug where anonymous replicas could participate in elections or even be chosen as a leader. It is now forbidden to configure a replica so that `replication_anon` is `true` and `election_mode` is not `off`. It is also now prohibited to issue PROMOTE from an anonymous replica. Closes #10561 @TarantoolBot document Title: changes in `replication_anon` and `election_mode` configuration Product: Tarantool Since: 3.3 [replication-anon] https://www.tarantool.io/ru/doc/latest/reference/configuration/#cfg-replication-replication-anon ```diff - In order to make a replica anonymous, pass the option `replication_anon=true` to `box.cfg` and set `read_only` to `true`. + In order to make a replica anonymous, pass the option `replication_anon=true` to `box.cfg`, set `read_only` to `true` and `election_mode` to `off`. ``` [election_mode] https://www.tarantool.io/ru/doc/latest/reference/configuration/#cfg-replication-election-mode For an anonymous replica, `election_mode` can only be set to `off`. (cherry picked from commit 97616f764)
68662 of 121894 branches covered (56.33%)
40 of 41 new or added lines in 1 file covered. (97.56%)
11 existing lines in 7 files now uncovered.101253 of 115971 relevant lines covered (87.31%)
2475940.28 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
91.35 |
0.1% | src/box/box.cc |
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
84.54 |
0.13% | src/box/xlog.c |
1 |
85.25 |
0.36% | src/lib/core/coio.c |
1 |
90.67 |
-1.33% | src/lib/core/iostream.c |
1 |
95.05 |
-0.31% | src/box/raft.c |
1 |
97.4 |
-0.06% | src/lib/salad/bps_tree.h |
2 |
87.8 |
0.06% | src/box/vy_run.c |
4 |
92.02 |
-0.05% | src/box/vinyl.c |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 12293014996.1 | 514 |
87.31 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|