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 BE22322DB3 for ; Mon, 12 Aug 2019 18:16:15 -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 6dAAKx28V1EU for ; Mon, 12 Aug 2019 18:16:15 -0400 (EDT) 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 turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 7E64522DAB for ; Mon, 12 Aug 2019 18:16:15 -0400 (EDT) Received: by smtp49.i.mail.ru with esmtpa (envelope-from ) id 1hxIbu-0005sS-2f for tarantool-patches@freelists.org; Tue, 13 Aug 2019 01:16:14 +0300 Date: Tue, 13 Aug 2019 01:16:13 +0300 From: Konstantin Osipov Subject: [tarantool-patches] Re: [PATCH 03/13] vinyl: move reference counting from vy_lsm to index Message-ID: <20190812221613.GX32337@atlas> References: <148a87ea2ed2c7778a528ee191bdee07c78875a4.1565430177.git.vdavydov.dev@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <148a87ea2ed2c7778a528ee191bdee07c78875a4.1565430177.git.vdavydov.dev@gmail.com> 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 [19/08/10 23:22]: > Now, as vy_lsm and index are basically the same object, we can implement > reference counting right in struct index. This will allow us to prevent > an index from destruction when a space object it belongs to is freed > anywhere in the code, not just in vinyl. OK, you won. Let's reference count it! LGTM. -- Konstantin Osipov, Moscow, Russia