[PATCH 0/2 v4] xdir: Remove inprogress files on start
Ilya Markov
imarkov at tarantool.org
Wed Jun 20 16:48:01 MSK 2018
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
More information about the Tarantool-patches
mailing list