Tarantool development patches archive
 help / color / mirror / Atom feed
From: Ilya Markov <imarkov@tarantool.org>
To: vdavydov.dev@gmail.com
Cc: georgy@tarantool.org, tarantool-patches@freelists.org
Subject: [PATCH 0/2 v4] xdir: Remove inprogress files on start
Date: Wed, 20 Jun 2018 16:48:01 +0300	[thread overview]
Message-ID: <cover.1529501824.git.imarkov@tarantool.org> (raw)
In-Reply-To: <20180620120853.4nell7bxgbmjjffy@esperanza>

branch: https://github.com/tarantool/tarantool/tree/gh-3406-remove-inprogress-files
issue: https://github.com/tarantool/tarantool/issues/3406

Changes in v4:
- Make xdir_collect_inprogress return void.
- Add 2 vy_file_types for inprogress files.
- Change error injections using labels.
- Change test with box.snapshot instead of big tuples inserting.
- Change log message in xdir_collect_garbage and vy_run_remove_files.
- Get rid of remove_file function in vy_run.c.
- Remove unnecessary lines.


Ilya Markov (2):
  xdir: Change log messages in gc functions
  xlog: Remove inprogress files on start

 src/box/memtx_engine.c   |   1 +
 src/box/vinyl.c          |   3 +
 src/box/vy_log.c         |   7 +-
 src/box/vy_run.c         |  31 ++++++---
 src/box/vy_run.h         |   2 +
 src/box/xlog.c           |  47 ++++++++++---
 src/box/xlog.h           |  11 +++
 src/errinj.h             |   3 +
 test/box/errinj.result   | 171 +++++++++++++++++++++++++++++++++++++++++++++++
 test/box/errinj.test.lua |  64 ++++++++++++++++++
 10 files changed, 323 insertions(+), 17 deletions(-)

--
2.7.4

  reply	other threads:[~2018-06-20 13:48 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-09 14:46 [tarantool-patches] [xlog 1/1] xlog: " Ilya Markov
2018-06-18  9:44 ` Vladimir Davydov
2018-06-18 16:23   ` [PATCH v2] " Ilya Markov
2018-06-19 11:50     ` Vladimir Davydov
2018-06-19 13:14   ` [PATCH v3] " Ilya Markov
2018-06-20 12:08     ` Vladimir Davydov
2018-06-20 13:48       ` Ilya Markov [this message]
2018-06-20 13:48         ` [PATCH 1/2 v4] xdir: Change log messages in gc functions Ilya Markov
2018-06-20 13:48         ` [PATCH 2/2 v4] xlog: Remove inprogress files on start Ilya Markov
2018-06-20 16:25       ` [PATCH v5 0/2] " Ilya Markov
2018-06-20 16:25         ` [PATCH v5 1/2] xdir: Change log messages in gc functions Ilya Markov
2018-06-28 12:26           ` Vladimir Davydov
2018-06-20 16:25         ` [PATCH v5 2/2] xlog: Remove inprogress files on start Ilya Markov
2018-06-28 12:27           ` Vladimir Davydov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1529501824.git.imarkov@tarantool.org \
    --to=imarkov@tarantool.org \
    --cc=georgy@tarantool.org \
    --cc=tarantool-patches@freelists.org \
    --cc=vdavydov.dev@gmail.com \
    --subject='Re: [PATCH 0/2 v4] xdir: Remove inprogress files on start' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox