Ran
|
Files
305
|
Run time
17s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
<a href="https://github.com/tarantool/tarantool/commit/<a class=hub.com/tarantool/tarantool/commit/671aada29d6f2106347620414cdecf4952efe8c9">671aada29<a href="https://github.com/tarantool/tarantool/commit/671aada29d6f2106347620414cdecf4952efe8c9">">vinyl: fix index build not working after recovery While building a secondary index for a Vinyl space, we use xm-&gt;lsn to skip statements inserted after build began (as those statements are propagated by the on_replace trigger callback anyway). The xm-&gt;lsn is advanced every time we insert something into a Vinyl space. The problem is during recovery we skip statements that have been dumped to disk so xm-&gt;lsn may lag behind the instance vclock once recovery is complete. In this case if we try to create a new Vinyl index right after recovery completion, before any DML operation is executed on a Vinyl space, we will skip statements that would otherwise get into the new index. Fix this issue by resetting xm-&gt;lsn to the instance vclock upon recovery completion. Closes #3903 (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/6351d916f0162fa17a73ed4a30dd35f9843df5af">6351d916f</a>">6351d916f</a><a href="https://github.com/tarantool/tarantool/commit/671aada29d6f2106347620414cdecf4952efe8c9">)
41092 of 49943 relevant lines covered (82.28%)
845042.77 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|