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 52FC825C14 for ; Tue, 19 Jun 2018 07:57:43 -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 cGZ1bBY16pgZ for ; Tue, 19 Jun 2018 07:57:43 -0400 (EDT) Received: from smtp60.i.mail.ru (smtp60.i.mail.ru [217.69.128.40]) (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 1265C258CE for ; Tue, 19 Jun 2018 07:57:43 -0400 (EDT) Subject: [tarantool-patches] Re: [PATCH 2/2] Complete module reload References: <991c6880-9d5e-3f51-9003-a095984dc30d@tarantool.org> <18667cab-8501-a46d-8255-89abfcb2bf0c@tarantool.org> From: Vladislav Shpilevoy Message-ID: Date: Tue, 19 Jun 2018 14:57:40 +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: Alex Khatskevich , tarantool-patches@freelists.org >>> +M.discovery_f = discovery_f >>> +M.failover_f = failover_f >> >> 9. Why did you move these lines? >> > Because M table should not be changed in case of > `router_cfg(M.current_cfg)` > failure But now router_cfg on reload starts old M.failover_f and old M.discovery_f, it is not? I think, that if cfg fails on reload, then the caller should just return to the old version.