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 32D5430B5E for ; Thu, 20 Jun 2019 05:02:49 -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 LajQJ6x-Pa6G for ; Thu, 20 Jun 2019 05:02:49 -0400 (EDT) Received: from smtp38.i.mail.ru (smtp38.i.mail.ru [94.100.177.98]) (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 DBE4030B47 for ; Thu, 20 Jun 2019 05:02:47 -0400 (EDT) Date: Thu, 20 Jun 2019 12:02:45 +0300 From: Konstantin Osipov Subject: [tarantool-patches] Re: [PATCH] ddl: No replication for temp and local spaces Message-ID: <20190620090245.GB18958@atlas> References: <20190619124823.7021-1-szudin@tarantool.org> <20190620090038.GA18958@atlas> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190620090038.GA18958@atlas> 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 Cc: georgy@tarantool.org, Stanislav Zudin * Konstantin Osipov [19/06/20 12:00]: > * Stanislav Zudin [19/06/19 15:53]: > > Do not spread the space:truncate() to replicas if the > > affected space is local and temporary. > > While I agree with Georgy's comment that when it comes to > TEMPORARY spaces, we should replicate all DDL but TRUNCATE, for > node-local spaces I think nothing should be replicated. This is > the idea of node-local spaces to begin with. On the other hand I don't know how to prevent replication of this data since it's already in the snapshot. Plus, if we filter out group-local spaces from the snapshot, we're going to break the vinyl deferred delete space. But we definitely need spaces which are node-local and are not replicated anywhere, including DDL. -- Konstantin Osipov, Moscow, Russia