[Tarantool-patches] [PATCH] replication: remove unnecessary errors on replicating from an anonymous instance

Cyrill Gorcunov gorcunov at gmail.com
Mon Apr 20 22:29:19 MSK 2020


On Mon, Apr 20, 2020 at 04:11:15PM +0300, Serge Petrenko wrote:
> Since the anonymous replica implementation, it was forbidden to
> replicate (join/subscribe/register) from anonymous instances.
> Actually, only joining and register should be banned. Anonymous replica
> isn't able to register its peer in _cluster  anyway.
> Allow subscribing to anonymous instances and  remove all the errors
> mentioning unsupported replication from anonymous replica. Join and
> register are covered by ER_READONLY errors, since anonymous replicas
> must be read-only.
> 
> Closes #4696
> ---

I don't see any obvious errors here. Still I'm far from being repication
expert. So I can put

Reviewed-by: Cyrill Gorcunov <gorcunov at gmail.com>

only.


More information about the Tarantool-patches mailing list