|
Ran
|
Jobs
1
|
Files
305
|
Run time
22s
|
Badge
README BADGES
|
push
travis-ci
<a href="https://github.com/tarantool/tarantool/commit/<a class=hub.com/tarantool/tarantool/commit/aa4b102121fb46bd463c20f51c213fd0df126f92">aa4b10212<a href="https://github.com/tarantool/tarantool/commit/aa4b102121fb46bd463c20f51c213fd0df126f92">">vinyl: fix deferred DELETE statement lost on commit Even if a statement isn&#39;t marked as VY_STMT_DEFERRED_DELETE, e.g. it&#39;s a REPLACE produced by an UPDATE request, it may overwrite a statement in the transaction write set that is marked so, for instance: s = box.schema.space.create(&#39;test&#39;, {engine = &#39;vinyl&#39;}) pk = s:create_index(&#39;pk&#39;) sk = s:create_index(&#39;sk&#39;, {parts = {2, &#39;unsigned&#39;}}) s:insert{1, 1} box.begin() s:replace{1, 2} s:update(1, {{&#39;=&#39;, 2, 3}}) box.commit() If we don&#39;t mark REPLACE{3,1} produced by the update operatoin with VY_STMT_DEFERRED_DELETE flag, we will never generate a DELETE statement for INSERT{1,1}. That is, we must inherit the flag from the overwritten statement when we insert a new one into a write set. Closes #4248 (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/b54433d92586863a767791b7f95c7bdb20a648c9">b54433d92</a>">b54433d92</a><a href="https://github.com/tarantool/tarantool/commit/aa4b102121fb46bd463c20f51c213fd0df126f92">)
3 of 3 new or added lines in 1 file covered. (100.0%)
41560 of 50410 relevant lines covered (82.44%)
843170.9 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 5 | 17148.5 (TARGET=coverage) | 0 |
82.44 |
Travis Job 17148.5 |