Ran
|
Jobs
1
|
Files
479
|
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)
63229 of 114505 branches covered (55.22%)
40 of 41 new or added lines in 1 file covered. (97.56%)
39 existing lines in 11 files now uncovered.94072 of 109446 relevant lines covered (85.95%)
2656180.38 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
86.7 |
-0.49% | src/box/box.cc |
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
93.71 |
-0.17% | src/box/replication.cc |
1 |
91.96 |
0.05% | src/box/vinyl.c |
1 |
91.45 |
0.0% | src/lib/swim/swim.c |
2 |
84.01 |
-0.74% | src/lib/core/coio.c |
2 |
86.89 |
-0.14% | src/box/vy_run.c |
2 |
85.71 |
-9.52% | src/lib/core/tt_sigaction.c |
3 |
89.4 |
-0.31% | src/box/vy_scheduler.c |
3 |
93.2 |
-1.02% | src/box/gc.c |
4 |
93.31 |
-1.27% | src/lib/swim/swim_io.c |
4 |
89.54 |
-0.4% | src/box/memtx_engine.cc |
16 |
86.7 |
-0.49% | src/box/box.cc |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 12280133763.1 | 479 |
85.95 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|