Tarantool development patches archive
 help / color / mirror / Atom feed
* [PATCH 0/2] Extend backup API to backup any checkpoint
@ 2018-05-30  8:43 Vladimir Davydov
  2018-05-30  8:43 ` [PATCH 1/2] engine: constify vclock argument Vladimir Davydov
  2018-05-30  8:43 ` [PATCH 2/2] box: allow to specify the checkpoint to backup Vladimir Davydov
  0 siblings, 2 replies; 6+ messages in thread
From: Vladimir Davydov @ 2018-05-30  8:43 UTC (permalink / raw)
  To: kostja; +Cc: tarantool-patches

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-05-31  7:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-30  8:43 [PATCH 0/2] Extend backup API to backup any checkpoint Vladimir Davydov
2018-05-30  8:43 ` [PATCH 1/2] engine: constify vclock argument Vladimir Davydov
2018-05-30 19:05   ` Konstantin Osipov
2018-05-30  8:43 ` [PATCH 2/2] box: allow to specify the checkpoint to backup Vladimir Davydov
2018-05-30 19:08   ` Konstantin Osipov
2018-05-31  7:48     ` Vladimir Davydov

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