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 C26EB240EB for ; Mon, 25 Jun 2018 07:52:05 -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 U_jFj7-cOZ1I for ; Mon, 25 Jun 2018 07:52:05 -0400 (EDT) Received: from smtp14.mail.ru (smtp14.mail.ru [94.100.181.95]) (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 81932240C4 for ; Mon, 25 Jun 2018 07:52:05 -0400 (EDT) Subject: [tarantool-patches] Re: [PATCH 0/2][vshard] preserve route map References: <29f6f8fe-3fe1-fa06-919e-cacbb7be4179@tarantool.org> From: Alex Khatskevich Message-ID: <1712b244-f087-06a0-c30f-352db3edf7eb@tarantool.org> Date: Mon, 25 Jun 2018 14:52:03 +0300 MIME-Version: 1.0 In-Reply-To: <29f6f8fe-3fe1-fa06-919e-cacbb7be4179@tarantool.org> Content-Type: text/plain; charset="utf-8"; format="flowed" Content-Transfer-Encoding: 8bit Content-Language: en-US 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: Vladislav Shpilevoy , tarantool-patches@freelists.org This commit prevents a dramatic performance degradation just after reconfugure and reload by preserving routes to buckets. On 21.06.2018 15:54, Vladislav Shpilevoy wrote: > Please, describe a goal of the patchset here. > > On 15/06/2018 15:47, AKhatskevich wrote: >> Branch: >> https://github.com/tarantool/vshard/tree/kh/gh-117-save-route-map >> Issue: https://github.com/tarantool/vshard/issues/117 >> >> Commits: >>   * Preserve route_map on router.cfg >>   * Fix discovery/reconfigure race >>      fixes race condition >> >>   test/router/router.result   | 104 >> ++++++++++++++++++++++++++++++++++++++++++++ >>   test/router/router.test.lua |  66 ++++++++++++++++++++++++++++ >>   vshard/router/init.lua      |  22 ++++++++-- >>   3 files changed, 189 insertions(+), 3 deletions(-) >>