|
Ran
|
Jobs
1
|
Files
521
|
Run time
2min
|
Badge
README BADGES
|
push
github
election: drop promotion flag before entering Raft box_promote() used to keep is_in_box_promote flag while running box_raft_try_promote(). Sometimes this led to the Raft worker being too fast, entering box_promote_qsync(), and failing on is_in_box_promote being set. Even though it is literally a part of the same promote. Lets drop the flag right before entering box_raft_try_promote(). Both before and after the behaviour is really the same. Just previously the Raft worker had to retry the limbo promotion. The difference is only detectable in the logs. This is why there is also no special test for this. The existing ones cover the guards completely fine. Closes #12333 NO_DOC=bugfix NO_CHANGELOG=too minor and no behaviour changes (cherry picked from commit 0cae9f838)
70192 of 118097 branches covered (59.44%)
2 of 2 new or added lines in 1 file covered. (100.0%)
327 existing lines in 15 files now uncovered.105473 of 120390 relevant lines covered (87.61%)
1408946.32 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 273 |
90.8 |
-0.05% | src/box/box.cc |
| 15 |
94.35 |
0.07% | src/box/txn_limbo.c |
| 8 |
95.16 |
-0.06% | src/box/txn_limbo_queue.c |
| 4 |
93.31 |
-1.27% | src/lib/swim/swim_io.c |
| 4 |
81.82 |
-12.12% | src/lua/minifio.c |
| 3 |
90.5 |
-0.22% | src/box/applier.cc |
| 3 |
97.51 |
-0.2% | src/box/memtx_tx.c |
| 3 |
92.61 |
0.13% | src/box/vinyl.c |
| 3 |
93.02 |
-0.6% | src/box/xrow_update_field.c |
| 3 |
92.83 |
-0.31% | src/lib/core/fiber.c |
| 2 |
94.66 |
-0.59% | src/box/raft.c |
| 2 |
95.4 |
-2.3% | src/lib/core/histogram.c |
| 2 |
82.22 |
-4.44% | src/lib/core/latch.h |
| 1 |
95.74 |
0.0% | src/box/vy_range.c |
| 1 |
97.41 |
-0.86% | src/lib/vclock/vclock.c |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 23219759090.1 | 521 |
87.61 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|