|
Ran
|
Jobs
1
|
Files
519
|
Run time
2min
|
Badge
README BADGES
|
push
github
limbo: fix a crash in linearization point waiting The DB state synchronization for a linearizable transaction is trying to wait for the receipt of all potentially confirmed synchro txns from a remote master, and then waits for their confirmation locally. Thus guaranteeing, that if any transaction was committed on the master before this point, then it is now visible on the current replica too. Waiting for the synchro txns confirmation was done in a way that if the limbo isn't empty, then it 100% must contain a synchro txn in it. But it is not always so. Sometimes it might contain a volatile async txn, which isn't written to WAL yet. Or it might even contain dummy entries created by the limbo flush operation (for a snapshot, for a new replica join). About these things the linearization sync must not care and should treat them like if the limbo is empty. Note that there might be more places where txn_limbo_is_empty() seems not exactly 100% safe to use, but for none of them a reproducer could be designed. The other places might actually be safe until proven otherwise. Closes #11807 NO_DOC=bugfix (cherry picked from commit 4db3d1e93)
70536 of 123827 branches covered (56.96%)
5 of 5 new or added lines in 2 files covered. (100.0%)
40 existing lines in 14 files now uncovered.103910 of 118672 relevant lines covered (87.56%)
1367109.45 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 1 |
92.58 |
0.09% | src/box/vinyl.c |
| 1 |
95.74 |
-0.53% | src/box/vy_range.c |
| 1 |
87.57 |
-0.06% | src/box/vy_run.c |
| 1 |
84.42 |
0.05% | src/box/xlog.c |
| 1 |
91.68 |
-0.11% | src/lib/swim/swim.c |
| 1 |
74.75 |
-0.25% | src/main.cc |
| 2 |
91.24 |
-0.07% | src/box/box.cc |
| 2 |
95.84 |
-0.11% | src/box/iproto.cc |
| 2 |
95.96 |
-0.36% | src/box/relay.cc |
| 2 |
89.26 |
-0.11% | src/box/xrow.c |
| 3 |
97.42 |
-0.2% | src/box/memtx_tx.c |
| 3 |
93.03 |
-0.1% | src/lib/core/fiber.c |
| 3 |
97.15 |
-0.1% | src/lib/msgpuck/msgpuck.h |
| 17 |
92.04 |
-2.51% | src/box/memtx_space.c |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 18387992580.1 | 519 |
87.56 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|