From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp49.i.mail.ru (smtp49.i.mail.ru [94.100.177.109]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 0D4E14696C3 for ; Fri, 1 May 2020 20:00:58 +0300 (MSK) From: Oleg Babin References: Message-ID: Date: Fri, 1 May 2020 20:00:51 +0300 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit Subject: Re: [Tarantool-patches] [PATCH vshard 4/7] test: clear route map, respecting statistics List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Vladislav Shpilevoy , tarantool-patches@dev.tarantool.org Hi! Thanks for the patch. LGTM. On 01/05/2020 03:16, Vladislav Shpilevoy wrote: > Router's test sometimes need to wipe the route map. Simple reset > it to {} may produce unexpected results, because route map is not > just a table. It is also statistics in replicaset objects. > > Inconsistent statistics may lead to failing tests in surprising > places. That becomes even more true with forthcoming patches, > which rework the statistics a little bit so it actually affects > something inside the router. > > Part of #210