Ran
|
Jobs
1
|
Files
514
|
Run time
1min
|
Badge
Embed ▾
README BADGES
|
push
github
replication: do not account booting replicas in sync quorum With `bootstrap_strategy ~= 'legacy'` all replicas to which a node managed to connect enter the pool of nodes with which the node has to sync before leaving orphan mode. This leads to inability to add new replicas to the cluster with centralized configuration: if master manages to connect to some of the new replicas before they are joined, it considers them part of sync quorum and enters orphan mode. The nodes cannot be joined, because master is read only, and master remains read only, because it can't sync with a not yet booted node. Let's fix this and not account connected but not yet booted nodes in sync quorum. Also fix the gh_10087 and gh_10088 tests. They started failing after the patch because one of the replicas started becoming writable earlier, before the other replica was bootstrapped. This made the other replica occasionally bootstrap from it instead of bootstrapping from master. Such situation was possible even before the patch, if one of the replicas timed out waiting for the other to start, but was really unlikely to happen, so the test wasn't ready for it. Closes #10760 NO_DOC=bugfix (cherry picked from commit 89cd7f43f)
68546 of 121760 branches covered (56.3%)
10 of 10 new or added lines in 2 files covered. (100.0%)
33 existing lines in 9 files now uncovered.101160 of 115915 relevant lines covered (87.27%)
2499321.75 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
95.84 |
-0.05% | src/box/iproto.cc |
1 |
84.34 |
-0.07% | src/box/xlog.c |
1 |
97.4 |
-0.06% | src/lib/salad/bps_tree.h |
1 |
92.83 |
-0.12% | src/lib/core/fiber.c |
1 |
80.0 |
-2.05% | src/lib/core/clock.c |
3 |
87.6 |
-0.04% | src/box/vy_run.c |
3 |
22.64 |
-0.06% | src/lib/uri/uri_parser.c |
4 |
94.25 |
-0.37% | src/box/xrow_update_field.c |
18 |
90.78 |
-0.56% | src/box/box.cc |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 12050468864.1 | 514 |
87.27 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|