Ran
|
Files
305
|
Run time
10min
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
<a href="https://github.com/tarantool/tarantool/commit/<a class=hub.com/tarantool/tarantool/commit/ac80084527a46cd8355b940918a9819fc4901785">ac8008452<a href="https://github.com/tarantool/tarantool/commit/ac80084527a46cd8355b940918a9819fc4901785">">box: enable WAL before making initial checkpoint While a replica is bootstrapped from a remote master, vinyl engine may need to perform compaction, which means that it may write to the _vinyl_deferred_delete system space. Compaction proceeds fully asynchronously, i.e. a write may occur after the join stage is complete, but before the WAL is initialized, in which case the new replica will crash. To make sure a race like that won&#39;t happen, let&#39;s setup WAL before making the initial checkpoint. The WAL writer is now initialized right before starting the WAL thread and so we don&#39;t need to split WAL struct into the thread and the writer anymore. Closes #3968 (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/c67430381cd356e90b57b8e02e57b51ada496198">c67430381</a>">c67430381</a><a href="https://github.com/tarantool/tarantool/commit/ac80084527a46cd8355b940918a9819fc4901785">)
41153 of 50002 relevant lines covered (82.3%)
863633.08 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|