|
Ran
|
Jobs
1
|
Files
519
|
Run time
1min
|
Badge
README BADGES
|
push
github
box: wait for rw state in promote Previously, `box.ctl.promote()` returned immediately after the instance became the Raft leader. However, the instance could still be read-only if it had not yet claimed the synchronous transaction queue. This behavior forced users to manually wait for writability after promotion to avoid errors. This patch ensures `box.ctl.promote()` waits until the instance is no longer read-only before returning. Closes #10040 NO_DOC=bugfix (cherry picked from commit 83e127968)
68756 of 116390 branches covered (59.07%)
4 of 4 new or added lines in 1 file covered. (100.0%)
34 existing lines in 17 files now uncovered.103489 of 118222 relevant lines covered (87.54%)
1619051.51 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 1 |
90.65 |
-0.02% | src/box/box.cc |
| 1 |
90.63 |
-0.63% | src/box/engine.c |
| 1 |
94.74 |
-1.75% | src/box/engine.h |
| 1 |
90.14 |
-0.08% | src/box/vy_log.c |
| 1 |
84.24 |
-0.02% | src/box/xlog.c |
| 1 |
87.5 |
-1.59% | src/box/xlog.h |
| 1 |
94.66 |
0.21% | src/box/xrow_update_field.c |
| 1 |
96.1 |
-0.05% | src/lib/salad/bps_tree.h |
| 1 |
91.68 |
-0.11% | src/lib/swim/swim.c |
| 2 |
94.22 |
-0.3% | src/box/memtx_space.c |
| 2 |
94.25 |
-0.41% | src/box/vy_read_iterator.c |
| 2 |
89.34 |
-0.11% | src/box/xrow.c |
| 2 |
92.93 |
-0.18% | src/lib/core/fiber.c |
| 3 |
90.28 |
-0.22% | src/box/applier.cc |
| 4 |
93.09 |
-2.13% | src/box/vy_range.c |
| 4 |
93.31 |
-1.27% | src/lib/swim/swim_io.c |
| 6 |
92.34 |
-0.28% | src/box/vinyl.c |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 20974954615.1 | 519 |
87.54 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|