|
Ran
|
Jobs
1
|
Files
513
|
Run time
2min
|
Badge
README BADGES
|
push
github
memtx: unify `replace_all_keys` code paths w/ and w/o MVCC Currently, we have 2 separate code paths for `memtx_replace_all_keys` w/ and w/o transaction management inside and outside the memtx transaction manager. Let's instead have a common replace code path in the transaction manager. Without MVCC, we will only replace tuples in indexes, as before. With MVCC, we will omit physical index replaces in case of deletes or perform deferred conflict resolution, determine result tuple and track read and write sets. This way the transaction management API will become easier to scale for multikey indexes (gh-6385) which require a series of ordinary index replaces. To improve the coverage of memtx MVCC and make sure this refactoring does not cause regressions, let's add test cases for the failure paths of index replaces. Closes #11732 Needed for #6385 NO_CHANGELOG=refactoring NO_DOC=refactoring (cherry picked from commit f88279e59)
69835 of 117633 branches covered (59.37%)
44 of 47 new or added lines in 2 files covered. (93.62%)
73 existing lines in 16 files now uncovered.104792 of 119592 relevant lines covered (87.62%)
1369037.09 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 3 |
97.51 |
0.09% | src/box/memtx_tx.c |
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 32 |
95.7 |
0.0% | src/box/memtx_tree.cc |
| 9 |
88.14 |
-7.63% | src/box/vy_regulator.c |
| 7 |
97.15 |
-0.51% | src/lib/msgpuck/msgpuck.h |
| 4 |
84.65 |
-0.39% | src/box/xlog.c |
| 3 |
88.07 |
0.06% | src/box/vy_run.c |
| 3 |
90.9 |
-0.31% | src/box/vy_scheduler.c |
| 3 |
93.43 |
-0.58% | src/box/xrow_update_field.c |
| 2 |
95.84 |
-0.11% | src/box/iproto.cc |
| 2 |
94.15 |
-0.23% | src/box/memtx_space.c |
| 2 |
93.95 |
0.0% | src/box/vy_write_iterator.c |
| 1 |
96.3 |
-0.18% | src/box/relay.cc |
| 1 |
94.31 |
-0.12% | src/box/txn_limbo.c |
| 1 |
89.09 |
-1.82% | src/box/xlog.h |
| 1 |
93.12 |
0.19% | src/lib/core/fiber.c |
| 1 |
90.38 |
-1.77% | src/lib/core/trigger.cc |
| 1 |
91.68 |
0.0% | src/lib/swim/swim.c |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 19858249643.1 | 513 |
87.62 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|