Ran
|
Jobs
1
|
Files
518
|
Run time
1min
|
Badge
Embed ▾
README BADGES
|
push
github
vinyl: fix cache invalidation on rollback of DELETE statement Once a statement is prepared to be committed to WAL, it becomes visible (in the 'read-committed' isolation level) so it can be added to the tuple cache. That's why if the statement is rolled back due to a WAL error, we have to invalidate the cache. The problem is that the function invalidating the cache (`vy_cache_on_write`) ignores the statement if it's a DELETE judging that "there was nothing and there is nothing now". This is apparently wrong for rollback. Fix it. Closes #10879 NO_DOC=bug fix (cherry picked from commit d64e29da2)
69642 of 123488 branches covered (56.4%)
9 of 9 new or added lines in 2 files covered. (100.0%)
49 existing lines in 13 files now uncovered.102608 of 117463 relevant lines covered (87.35%)
2869684.46 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
95.89 |
-0.05% | src/box/iproto.cc |
1 |
86.49 |
-1.35% | src/box/lua/ctl.c |
1 |
84.24 |
0.08% | src/box/xlog.c |
1 |
80.0 |
-2.5% | src/lib/core/clock.c |
2 |
89.26 |
-0.11% | src/box/xrow.c |
2 |
96.15 |
-3.85% | src/lib/core/iostream.h |
3 |
87.6 |
-0.2% | src/box/vy_run.c |
3 |
22.64 |
-0.04% | src/lib/uri/uri_parser.c |
3 |
94.68 |
0.53% | src/box/vy_range.c |
4 |
81.82 |
-12.12% | src/lua/minifio.c |
4 |
94.27 |
-0.75% | src/box/xrow_update_field.c |
4 |
92.15 |
-0.14% | src/box/vinyl.c |
20 |
90.88 |
-0.65% | src/box/box.cc |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 12252153106.1 | 518 |
87.35 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|