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

Konstantin Osipov kostja at tarantool.org
Thu Jun 20 12:02:45 MSK 2019


* Konstantin Osipov <kostja at tarantool.org> [19/06/20 12:00]:
> * 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.

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




More information about the Tarantool-patches mailing list