Ran
|
Jobs
1
|
Files
305
|
Run time
18min
|
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">)
51 of 51 new or added lines in 2 files covered. (100.0%)
41153 of 50002 relevant lines covered (82.3%)
863633.08 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
95.11 |
0.05% | src/box/wal.c |
5 |
92.72 |
-0.29% | src/box/box.cc |
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
96.04 |
-0.25% | src/box/replication.cc |
1 |
93.94 |
-1.52% | src/lib/small/small/quota.h |
1 |
90.18 |
-0.05% | src/box/vinyl.c |
1 |
96.77 |
-3.23% | src/box/error.h |
2 |
92.72 |
-0.29% | src/box/box.cc |
3 |
91.78 |
-0.49% | src/box/vy_tx.c |
3 |
59.88 |
-0.88% | src/coio.cc |
6 |
84.43 |
-3.59% | src/coio_task.c |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
5 | 15350.5 (TARGET=coverage) | 305 |
82.3 |
Travis Job 15350.5 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|