Ran
|
Jobs
1
|
Files
518
|
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)
69656 of 123538 branches covered (56.38%)
40 of 41 new or added lines in 1 file covered. (97.56%)
30 existing lines in 13 files now uncovered.102612 of 117477 relevant lines covered (87.35%)
2774479.14 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
91.46 |
0.03% | src/box/box.cc |
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
96.12 |
0.0% | src/box/relay.cc |
1 |
84.26 |
0.02% | src/box/xlog.c |
1 |
85.25 |
0.36% | src/lib/core/coio.c |
1 |
95.79 |
-0.1% | src/lib/msgpuck/msgpuck.h |
1 |
80.0 |
-2.05% | src/lib/core/clock.c |
1 |
91.68 |
-0.11% | src/lib/swim/swim.c |
2 |
95.45 |
-4.55% | src/lib/json/json.h |
2 |
87.6 |
-0.14% | src/box/vy_run.c |
2 |
92.92 |
0.09% | src/lib/core/fiber.c |
3 |
22.64 |
-0.04% | src/lib/uri/uri_parser.c |
3 |
91.46 |
0.03% | src/box/box.cc |
4 |
93.84 |
-0.79% | src/box/xrow_update_field.c |
8 |
60.42 |
-3.55% | src/lib/core/fio.c |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 12293016676.1 | 518 |
87.35 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|