From: Vladimir Davydov <vdavydov.dev@gmail.com> To: kostja@tarantool.org Cc: tarantool-patches@freelists.org Subject: [PATCH 0/2] Extend backup API to backup any checkpoint Date: Wed, 30 May 2018 11:43:57 +0300 [thread overview] Message-ID: <cover.1527669266.git.vdavydov.dev@gmail.com> (raw) 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
next reply other threads:[~2018-05-30 8:43 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-05-30 8:43 Vladimir Davydov [this message] 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
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.1527669266.git.vdavydov.dev@gmail.com \ --to=vdavydov.dev@gmail.com \ --cc=kostja@tarantool.org \ --cc=tarantool-patches@freelists.org \ --subject='Re: [PATCH 0/2] Extend backup API to backup any checkpoint' \ /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