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 B34DE20CEE for ; Sun, 17 Jun 2018 15:40:01 -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 yKnZMeC0Ak5h for ; Sun, 17 Jun 2018 15:40:01 -0400 (EDT) Received: from smtp40.i.mail.ru (smtp40.i.mail.ru [94.100.177.100]) (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 D8A8B20C0D for ; Sun, 17 Jun 2018 15:40:00 -0400 (EDT) Subject: [tarantool-patches] Re: [PATCH 0/2][vshard] Vshard safe reload References: From: Vladislav Shpilevoy Message-ID: Date: Sun, 17 Jun 2018 22:39:58 +0300 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit 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, AKhatskevich Hello. Thanks for the patches! Please, describe here the point of the patchset. It could be not obvious for a witness. On 09/06/2018 20:47, AKhatskevich wrote: > 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(-) >