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 5C5FF2649F for ; Sat, 9 Jun 2018 13:47:33 -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 YdR9VhorwWQW for ; Sat, 9 Jun 2018 13:47:33 -0400 (EDT) Received: from smtp42.i.mail.ru (smtp42.i.mail.ru [94.100.177.102]) (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 189822648E for ; Sat, 9 Jun 2018 13:47:33 -0400 (EDT) From: AKhatskevich Subject: [tarantool-patches] [PATCH 0/2][vshard] Vshard safe reload Date: Sat, 9 Jun 2018 20:47:14 +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: tarantool-patches@freelists.org, v.shpilevoy@tarantool.org Branch: https://github.com/tarantool/vshard/tree/kh/gh-112-reload-mt-2 Issue: https://github.com/tarantool/vshard/issues/112 Two commits: * Add test on error during reconfigure * Complete module reload reloads entire vshard, deprecating old objects test/lua_libs/util.lua | 16 +++++++ test/router/reload.result | 109 ++++++++++++++++++++++++++++++++++++++++++ test/router/reload.test.lua | 41 ++++++++++++++++ test/router/router.result | 30 +++++++++++- test/router/router.test.lua | 10 ++++ test/storage/reload.result | 61 +++++++++++++++++++++++ test/storage/reload.test.lua | 24 ++++++++++ test/storage/storage.result | 33 +++++++++++++ test/storage/storage.test.lua | 12 +++++ vshard/replicaset.lua | 91 ++++++++++++++++++++++++++++------- vshard/router/init.lua | 47 ++++++++++++++---- vshard/storage/init.lua | 53 +++++++++++++++----- vshard/util.lua | 20 ++++++++ 13 files changed, 506 insertions(+), 41 deletions(-) -- 2.14.1