From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Vladimir Davydov Subject: [PATCH 0/2] Extend backup API to backup any checkpoint Date: Wed, 30 May 2018 11:43:57 +0300 Message-Id: To: kostja@tarantool.org Cc: tarantool-patches@freelists.org List-ID: Currently box.backup.start() returns files corresponding to the last checkpoint. This patch extends it so that it is now possible to backup any of stored checkpoints. https://github.com/tarantool/tarantool/issues/3410 https://github.com/tarantool/tarantool/commits/gh-3410-allow-to-backup-any-checkpoint Vladimir Davydov (2): engine: constify vclock argument box: allow to specify the checkpoint to backup src/box/box.cc | 22 +++-- src/box/box.h | 9 +- src/box/engine.c | 6 +- src/box/engine.h | 16 ++-- src/box/lua/init.c | 8 +- src/box/memtx_engine.c | 10 ++- src/box/sysview_engine.c | 10 ++- src/box/vinyl.c | 10 ++- src/box/vy_log.c | 2 +- src/box/vy_log.h | 2 +- test/box/backup.result | 230 ++++++++++++++++++++++++++++++++--------------- test/box/backup.test.lua | 150 ++++++++++++++++++------------- 12 files changed, 306 insertions(+), 169 deletions(-) -- 2.11.0