Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH v2 vshard 0/2] storage: allow replica to boot before master
@ 2020-08-05 22:15 Vladislav Shpilevoy
  2020-08-05 22:15 ` [Tarantool-patches] [PATCH v2 vshard 1/2] storage: fix reload applying migration twice Vladislav Shpilevoy
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Vladislav Shpilevoy @ 2020-08-05 22:15 UTC (permalink / raw)
  To: tarantool-patches, yaroslav.dynnikov, olegrok

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)

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

end of thread, other threads:[~2020-08-06 19:57 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-05 22:15 [Tarantool-patches] [PATCH v2 vshard 0/2] storage: allow replica to boot before master Vladislav Shpilevoy
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

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