Tarantool development patches archive
 help / color / mirror / Atom feed
From: "Георгий Кириченко" <georgy@tarantool.org>
To: tarantool-patches@freelists.org
Cc: Konstantin Osipov <kostja@tarantool.org>,
	Stanislav Zudin <szudin@tarantool.org>
Subject: [tarantool-patches] Re: [PATCH] ddl: No replication for temp and local spaces
Date: Thu, 20 Jun 2019 13:34:00 +0300	[thread overview]
Message-ID: <3949285.zUfRBHxran@home.lan> (raw)
In-Reply-To: <20190620090038.GA18958@atlas>

[-- Attachment #1: Type: text/plain, Size: 943 bytes --]

On Thursday, June 20, 2019 12:00:38 PM MSK Konstantin Osipov wrote:
> * Stanislav Zudin <szudin@tarantool.org> [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.

It breaks backward compatibility and inconsistent all. I'm pretty sure we 
definitely should replicate all local space schema changes because it is only 
possible way to keep a fallback possible. In the opposite case we were in duty 
to keep all local spaces definition in mind and apply them before replica 
became master. The other solution is to populate local space changes across 
whole cluster by hands instead of replication and it looks as ugly as previous 
one.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  parent reply	other threads:[~2019-06-20 10:34 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-19 12:48 [tarantool-patches] " Stanislav Zudin
2019-06-20  9:00 ` [tarantool-patches] " Konstantin Osipov
2019-06-20  9:02   ` Konstantin Osipov
2019-06-20 10:35     ` Георгий Кириченко
2019-06-20 10:34   ` Георгий Кириченко [this message]
2019-06-20 11:25 ` [tarantool-patches] " Vladimir Davydov
2019-06-20 13:33   ` Stanislav Zudin
2019-06-21 15:05     ` Vladimir Davydov
2019-06-25  9:01       ` Stanislav Zudin
2019-06-25 12:56         ` Vladimir Davydov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3949285.zUfRBHxran@home.lan \
    --to=georgy@tarantool.org \
    --cc=kostja@tarantool.org \
    --cc=szudin@tarantool.org \
    --cc=tarantool-patches@freelists.org \
    --subject='[tarantool-patches] Re: [PATCH] ddl: No replication for temp and local spaces' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox