[Tarantool-patches] [tarantool-patches] [PATCH 1/1] replication: auto reconnect if password is invalid

Kirill Yukhin kyukhin at tarantool.org
Thu Nov 14 14:20:31 MSK 2019


Hello,

On 28 окт 09:19, Kirill Yukhin wrote:
> Hello,
> 
> On 17 окт 23:16, Vladislav Shpilevoy wrote:
> > Before the patch there was a race in replication
> > password configuration. It was possible that a replica
> > connects to a master with a custom password before
> > that password is actually set. The replica treated the
> > error as critical and exited.
> > 
> > But in fact it is not critical. Replica even can
> > withstand absence of a user and keeps reconnecting.
> > Wrong password situation arises from the same problem
> > of non atomic configuration and is fixed the same -
> > keep reconnect attempts if the password was wrong.
> > 
> > Closes #4550
> > ---
> > Branch: https://github.com/tarantool/tarantool/tree/gerold103/gh-4550-replication-password-cfg
> 
> I've checked your patch into 2.2 and master.

Backported to 1.10 as well.

--
Regards, Kirill Yukhin


More information about the Tarantool-patches mailing list