Ran
|
Jobs
1
|
Files
479
|
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)
63200 of 114437 branches covered (55.23%)
9 of 9 new or added lines in 2 files covered. (100.0%)
14 existing lines in 7 files now uncovered.94061 of 109414 relevant lines covered (85.97%)
2835321.57 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
96.21 |
-0.2% | src/box/relay.cc |
1 |
89.72 |
-0.1% | src/box/vy_scheduler.c |
1 |
91.92 |
0.0% | src/box/vinyl.c |
2 |
87.16 |
-0.14% | src/box/vy_run.c |
2 |
90.0 |
-0.16% | src/box/applier.cc |
2 |
93.79 |
2.12% | src/box/memtx_space.c |
5 |
89.52 |
-0.5% | src/box/memtx_engine.cc |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 12252143380.1 | 479 |
85.97 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|