[tarantool-patches] Re: [PATCH] ddl: No replication for temp and local spaces

Георгий Кириченко georgy at tarantool.org
Thu Jun 20 13:34:00 MSK 2019


On Thursday, June 20, 2019 12:00:38 PM MSK Konstantin Osipov wrote:
> * Stanislav Zudin <szudin at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.tarantool.org/pipermail/tarantool-patches/attachments/20190620/1a9cdc38/attachment.sig>


More information about the Tarantool-patches mailing list