|
Ran
|
Files
305
|
Run time
53s
|
Badge
README BADGES
|
push
travis-ci
<a href="https://github.com/tarantool/tarantool/commit/<a class=hub.com/tarantool/tarantool/commit/df8f1fdaab8237ef6ea2e740ca28299d45f145fc">df8f1fdaa<a href="https://github.com/tarantool/tarantool/commit/df8f1fdaab8237ef6ea2e740ca28299d45f145fc">">vinyl: fix vy_range_update_compaction_priority hang Under certain circumstances vy_slice_new() may create an empty slice, e.g. on range split: |------------------ Slice ---------------| |---- Run -----| + split key |---- Slice 1 ----||------ Slice 2 ------| ^^^^^^^ Empty vy_range_update_compaction_priority() uses the size of the last slice in a range as a base for LSM tree level sizing. If the slice size happens to be 0, it will simply hang in an infinite loop. Fix this potential hang by using 1 if the last slice size is 0. (cherry picked from commit </a><a class="double-link" href="https://github.com/tarantool/tarantool/commit/<a class="double-link" href="https://github.com/tarantool/tarantool/commit/75dc3e64523c54640805f6d6bd798d961a75fb9e">75dc3e645</a>">75dc3e645</a><a href="https://github.com/tarantool/tarantool/commit/df8f1fdaab8237ef6ea2e740ca28299d45f145fc">)
41588 of 50415 relevant lines covered (82.49%)
845150.59 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|