From: Vladislav Shpilevoy <v.shpilevoy@tarantool.org> To: tarantool-patches@dev.tarantool.org, yaroslav.dynnikov@tarantool.org, olegrok@tarantool.org Subject: [Tarantool-patches] [PATCH v2 vshard 0/2] storage: allow replica to boot before master Date: Thu, 6 Aug 2020 00:15:47 +0200 [thread overview] Message-ID: <cover.1596665591.git.v.shpilevoy@tarantool.org> (raw) The patchset fixes a problem appearing in tarantool cartridge when replica is configured before master and fails with an ugly error without a serious reason for that. As a prerequisite the reload evolution subsystem is fixed, because it had a bug affecting the main commit. The bug didn't appear earlier, because the evolution was never used for anything so far. Changes in v2: - The reload evolution fix is moved into a separate commit; - Instance un-installs _bucket trigger when master is switched to replica. Branch: http://github.com/tarantool/vshard/tree/gerold103/gh-237-boot-replica-first Issue: https://github.com/tarantool/vshard/issues/237 Vladislav Shpilevoy (2): storage: fix reload applying migration twice storage: allow replica to boot before master test/lua_libs/storage_template.lua | 55 +++++++++++- test/misc/reconfigure.result | 33 +++++++ test/misc/reconfigure.test.lua | 9 ++ test/reload_evolution/storage.result | 10 +++ test/reload_evolution/storage.test.lua | 8 ++ test/router/boot_replica_first.result | 112 ++++++++++++++++++++++++ test/router/boot_replica_first.test.lua | 42 +++++++++ vshard/storage/init.lua | 21 ++++- vshard/storage/reload_evolution.lua | 10 ++- 9 files changed, 296 insertions(+), 4 deletions(-) create mode 100644 test/router/boot_replica_first.result create mode 100644 test/router/boot_replica_first.test.lua -- 2.21.1 (Apple Git-122.3)
next reply other threads:[~2020-08-05 22:15 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-08-05 22:15 Vladislav Shpilevoy [this message] 2020-08-05 22:15 ` [Tarantool-patches] [PATCH v2 vshard 1/2] storage: fix reload applying migration twice Vladislav Shpilevoy 2020-08-06 6:40 ` Oleg Babin 2020-08-06 8:29 ` Yaroslav Dynnikov 2020-08-05 22:15 ` [Tarantool-patches] [PATCH v2 vshard 2/2] storage: allow replica to boot before master Vladislav Shpilevoy 2020-08-06 6:40 ` Oleg Babin 2020-08-06 8:30 ` Yaroslav Dynnikov 2020-08-06 19:57 ` [Tarantool-patches] [PATCH v2 vshard 0/2] " Vladislav Shpilevoy
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.1596665591.git.v.shpilevoy@tarantool.org \ --to=v.shpilevoy@tarantool.org \ --cc=olegrok@tarantool.org \ --cc=tarantool-patches@dev.tarantool.org \ --cc=yaroslav.dynnikov@tarantool.org \ --subject='Re: [Tarantool-patches] [PATCH v2 vshard 0/2] storage: allow replica to boot before master' \ /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