|
Ran
|
Jobs
1
|
Files
514
|
Run time
2min
|
Badge
README BADGES
|
push
github
box: set TXN_WAIT_SYNC with xrow rather than limbo state during recovery During recovery we set the `TXN_WAIT_SYNC` flag based on the limbo's state rather than respecting the xrow's flags. This does not play well with fully local transactions that were committed using the `TXN_FORCE_ASYNC` flag: during runtime they bypass the limbo as expected, but during recovery we do not set this flag, and they are appended to the limbo, if it is not empty, even though they are not supposed to be, since their xrows does not have the `wait_sync` flag. To fix this, during recovery let's set all the required flags related to synchronous replication while processing the xrow, and ignore the limbo emptiness, if we are in recovery and processing local transactions (i.e., not applying remote transactions). Closes #11053 NO_CHANGELOG=<this version is not affect by backported bugfix> NO_DOC=<this version is not affect by backported bugfix> NO_TEST=<this version is not affect by backported bugfix> (cherry picked from commit 4ba187909)
68906 of 122197 branches covered (56.39%)
4 of 4 new or added lines in 1 file covered. (100.0%)
255 existing lines in 17 files now uncovered.101582 of 116236 relevant lines covered (87.39%)
1951006.07 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 1 |
85.48 |
-1.61% | src/box/lua/ctl.c |
| 1 |
95.05 |
-0.31% | src/box/raft.c |
| 1 |
95.15 |
-0.13% | src/box/replication.cc |
| 1 |
95.74 |
0.0% | src/box/vy_range.c |
| 1 |
84.53 |
0.21% | src/box/xlog.c |
| 1 |
97.05 |
0.0% | src/lib/msgpuck/msgpuck.h |
| 1 |
97.4 |
-0.06% | src/lib/salad/bps_tree.h |
| 1 |
91.45 |
-0.11% | src/lib/swim/swim.c |
| 2 |
98.26 |
0.0% | src/box/txn.h |
| 2 |
87.3 |
-0.13% | src/box/vy_run.c |
| 2 |
82.22 |
-4.44% | src/lib/core/latch.h |
| 3 |
94.53 |
-0.96% | src/box/gc.c |
| 3 |
97.85 |
-0.23% | src/box/memtx_tx.c |
| 3 |
84.53 |
-1.08% | src/lib/core/coio.c |
| 6 |
94.66 |
-1.23% | src/box/vy_read_iterator.c |
| 15 |
91.64 |
-2.32% | src/box/memtx_space.c |
| 211 |
90.67 |
-0.59% | src/box/box.cc |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 14487668771.1 | 514 |
87.39 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|