[PATCH 0/2] Extend backup API to backup any checkpoint

Vladimir Davydov vdavydov.dev at gmail.com
Wed May 30 11:43:57 MSK 2018


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




More information about the Tarantool-patches mailing list