Ran
|
Jobs
1
|
Files
514
|
Run time
2min
|
Badge
Embed ▾
README BADGES
|
push
github
vinyl: disable tautological DELETE optimization for deferred DELETEs If the write iterator sees that one DELETE statement follows another, which isn't discarded because it's referenced by a read view, it drops the newer DELETE, see commit a6f45d870813b ("vinyl: discard tautological DELETEs on compaction"). This is incorrect if the older DELETE is a deferred DELETE statement (marked as SKIP READ) because such statements are dumped out of order, i.e. there may be a statement with the LSN lying between the two DELETEs in an older source not included into this compaction task. If we discarded the newer DELETE, we wouldn't overwrite this statement on major compaction, leaving garbage. Fix this issue by disabling this optimization for deferred DELETEs. Closes #10895 NO_DOC=bug fix (cherry picked from commit 2945a8c9f)
68621 of 121862 branches covered (56.31%)
1 of 1 new or added line in 1 file covered. (100.0%)
90 existing lines in 20 files now uncovered.101213 of 115964 relevant lines covered (87.28%)
2481579.12 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
93.93 |
-0.23% | src/box/vy_write_iterator.c |
1 |
95.05 |
-0.31% | src/box/raft.c |
1 |
94.24 |
-0.72% | src/box/vy_point_lookup.c |
1 |
95.76 |
-0.18% | src/box/relay.cc |
1 |
91.23 |
-0.1% | src/box/vy_scheduler.c |
1 |
99.4 |
-0.3% | src/box/lua/iproto.c |
1 |
84.53 |
-0.36% | src/lib/core/coio.c |
2 |
95.78 |
-0.11% | src/box/iproto.cc |
2 |
92.93 |
0.01% | src/lib/core/fiber.c |
2 |
91.35 |
0.56% | src/box/box.cc |
2 |
94.25 |
-0.39% | src/box/xrow_update_field.c |
2 |
85.71 |
-9.52% | src/lib/core/tt_sigaction.c |
3 |
22.64 |
-0.06% | src/lib/uri/uri_parser.c |
3 |
84.35 |
0.11% | src/box/xlog.c |
3 |
94.44 |
-0.98% | src/box/gc.c |
3 |
94.68 |
-1.6% | src/box/vy_range.c |
4 |
87.6 |
-0.13% | src/box/vy_run.c |
9 |
60.42 |
-4.03% | src/lib/core/fio.c |
15 |
89.21 |
0.38% | src/box/vy_lsm.c |
33 |
94.55 |
-0.04% | src/box/vy_tx.c |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 12275532560.1 | 514 |
87.28 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|