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 8CDFF22B6A for ; Tue, 31 Jul 2018 16:45:47 -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 4Oi6OPL4RZDC for ; Tue, 31 Jul 2018 16:45:47 -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 501512015C for ; Tue, 31 Jul 2018 16:45:47 -0400 (EDT) Received: from [185.6.245.178] (port=37294 helo=atlas.local) by smtp42.i.mail.ru with esmtpa (envelope-from ) id 1fkbWb-00081R-QZ for tarantool-patches@freelists.org; Tue, 31 Jul 2018 23:45:45 +0300 Date: Tue, 31 Jul 2018 23:45:45 +0300 From: Konstantin Osipov Subject: [tarantool-patches] Re: [PATCH 08/25] vinyl: remove env argument of vy_check_is_unique_{primary,secondary} Message-ID: <20180731204545.GL15235@chai> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 * Vladimir Davydov [18/07/27 16:55]: > Besides vy_check_is_unique, other callers of vy_check_is_unique_primary > and vy_check_is_unique_secondary are only called when vinyl engine is > online. So let's move the optimization that skips uniqueness check on > recovery to vy_check_is_unique and remove the env argument. OK to push. -- Konstantin Osipov, Moscow, Russia, +7 903 626 22 32 http://tarantool.io - www.twitter.com/kostja_osipov