Ran
|
Jobs
1
|
Files
514
|
Run time
1min
|
Badge
Embed ▾
README BADGES
|
push
github
box: make bootstrap_leader cfg option dynamic bootstrap_leader configuration option only takes effect during instance bootstrap. For this reason, the option was made static. One can't change the bootstrap_leader after initial box.cfg() call. So when a user has bootstrap_strategy = 'config' and joins new nodes during replicaset lifespan, he ends up with instances having different `bootstrap_leader` configuration, depending on which node was writable at the moment of each instance bootstrap. It would be better to have matching configuration on each replica set member with no exceptions and to be able to set bootstrap_leader to the same value on all the instances of the replica set, even on the ones which are already bootstrapped. Let's allow changing `bootstrap_leader` option even though it affects nothing. While we're at it, fix a memory leak of bootstrap leader uri on tarantool shutdown. Closes #10604 @TarantoolBot document Title: clarify `bootstrap_leader` configuration option meaning The option `bootstrap_leader` is dynamic, but it's important to note that changing it after instance bootstrap affects nothing. It's left dynamic simply for the sake of centralized configuration, when it's preferable to have matching configurations on all instances of a replica set. (cherry picked from commit 97ec171f5)
68535 of 121750 branches covered (56.29%)
9 of 9 new or added lines in 3 files covered. (100.0%)
28 existing lines in 12 files now uncovered.101156 of 115902 relevant lines covered (87.28%)
2679575.23 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
95.65 |
-0.19% | src/box/relay.cc |
1 |
96.55 |
-1.15% | src/histogram.c |
1 |
90.55 |
-0.08% | src/box/applier.cc |
1 |
94.24 |
-0.72% | src/box/vy_point_lookup.c |
1 |
72.77 |
-0.25% | src/main.cc |
1 |
91.45 |
-0.11% | src/lib/swim/swim.c |
2 |
95.9 |
-0.11% | src/lib/msgpuck/msgpuck.h |
2 |
93.56 |
-0.32% | src/box/txn_limbo.c |
3 |
93.03 |
-0.01% | src/lib/core/fiber.c |
4 |
81.82 |
-12.12% | src/lua/minifio.c |
4 |
91.98 |
-0.09% | src/box/vinyl.c |
7 |
94.55 |
-1.53% | src/box/vy_read_iterator.c |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 11795255998.1 | 514 |
87.28 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|