push
travis-ci
<a href="https://github.com/tarantool/tarantool/commit/<a class=hub.com/tarantool/tarantool/commit/21f87c30d0353727e01149ba49846ae6ef669302">21f87c30d<a href="https://github.com/tarantool/tarantool/commit/21f87c30d0353727e01149ba49846ae6ef669302">">wal: remove old xlog files asynchronously In contrast to TX thread, WAL thread performs garbage collection synchronously, blocking all concurrent writes. We expected file removal to happen instantly so we didn&#39;t bother to offload this job to eio threads. However, it turned out that sometimes removal of a single xlog file can take 50 or even 100 ms. If there are a dozen files to be removed, this means a second delay and &#39;too long WAL write&#39; warnings. To fix this issue, let&#39;s make WAL garbage collection fully asynchronous. Simply submit a jobs to eio and assume it will successfully complete sooner or later. This means that if unlink() fails for some reason, we will log an error and never retry file removal until the server is restarted. Not a big deal. We can live with it assuming unlink() doesn&#39;t normally fail. Closes #3938 (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/8e429f4b7a335ff318ca86b1147b194d1ede9c02">8e429f4b7</a>">8e429f4b7</a><a href="https://github.com/tarantool/tarantool/commit/21f87c30d0353727e01149ba49846ae6ef669302">)
15 of 15 new or added lines in 3 files covered. (100.0%)
41156 of 50005 relevant lines covered (82.3%)
848720.26 hits per line