|
Ran
|
Jobs
1
|
Files
513
|
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)
69858 of 117658 branches covered (59.37%)
4 of 0 new or added lines in 0 files covered. (NaN%)
27 existing lines in 8 files now uncovered.104821 of 119617 relevant lines covered (87.63%)
1380563.23 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 1 |
96.3 |
-0.18% | src/box/relay.cc |
| 1 |
92.56 |
0.04% | src/box/vinyl.c |
| 1 |
94.99 |
-0.21% | src/box/vy_read_iterator.c |
| 1 |
96.55 |
-1.15% | src/lib/core/histogram.c |
| 2 |
87.88 |
0.0% | src/box/vy_run.c |
| 2 |
84.69 |
-0.06% | src/box/xlog.c |
| 4 |
91.32 |
0.37% | src/box/box.cc |
| 15 |
92.2 |
-2.25% | src/box/memtx_space.c |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 20974947074.1 | 513 |
87.63 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|