From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 35CD427898 for ; Wed, 18 Jul 2018 13:47:55 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7H5IehMPlYQc for ; Wed, 18 Jul 2018 13:47:55 -0400 (EDT) Received: from smtp54.i.mail.ru (smtp54.i.mail.ru [217.69.128.34]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 8161A27890 for ; Wed, 18 Jul 2018 13:47:54 -0400 (EDT) From: AKhatskevich Subject: [tarantool-patches] [PATCH 0/3] vshard reload mechanism Date: Wed, 18 Jul 2018 20:47:33 +0300 Message-Id: Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-subscribe: List-owner: List-post: List-archive: To: v.shpilevoy@tarantool.org, tarantool-patches@freelists.org Issue1: https://github.com/tarantool/vshard/issues/112 Issue2: https://github.com/tarantool/vshard/issues/125 Branch: https://github.com/tarantool/vshard/tree/kh/gh-112-reload-mt-2 This patcheset improves vshard reload mechanism. AKhatskevich (3): Add test on error during reconfigure Complete module reload Introduce storage reload evolution .travis.yml | 2 +- rpm/prebuild.sh | 2 + test/lua_libs/git_util.lua | 39 +++++++ test/lua_libs/util.lua | 36 +++++++ test/reload_evolution/storage.result | 184 +++++++++++++++++++++++++++++++++ test/reload_evolution/storage.test.lua | 64 ++++++++++++ test/reload_evolution/storage_1_a.lua | 144 ++++++++++++++++++++++++++ test/reload_evolution/storage_1_b.lua | 1 + test/reload_evolution/storage_2_a.lua | 1 + test/reload_evolution/storage_2_b.lua | 1 + test/reload_evolution/suite.ini | 6 ++ test/reload_evolution/test.lua | 9 ++ test/router/reload.result | 159 ++++++++++++++++++++++++++++ test/router/reload.test.lua | 48 +++++++++ test/router/router.result | 36 ++++++- test/router/router.test.lua | 10 ++ test/storage/reload.result | 68 ++++++++++++ test/storage/reload.test.lua | 23 +++++ test/storage/storage.result | 39 +++++++ test/storage/storage.test.lua | 12 +++ vshard/cfg.lua | 6 ++ vshard/error.lua | 5 + vshard/replicaset.lua | 100 +++++++++++++----- vshard/router/init.lua | 51 ++++++--- vshard/storage/init.lua | 65 +++++++++--- vshard/storage/reload_evolution.lua | 58 +++++++++++ vshard/util.lua | 20 ++++ 27 files changed, 1133 insertions(+), 56 deletions(-) create mode 100644 test/lua_libs/git_util.lua create mode 100644 test/reload_evolution/storage.result create mode 100644 test/reload_evolution/storage.test.lua create mode 100755 test/reload_evolution/storage_1_a.lua create mode 120000 test/reload_evolution/storage_1_b.lua create mode 120000 test/reload_evolution/storage_2_a.lua create mode 120000 test/reload_evolution/storage_2_b.lua create mode 100644 test/reload_evolution/suite.ini create mode 100644 test/reload_evolution/test.lua create mode 100644 vshard/storage/reload_evolution.lua -- 2.14.1