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

Kirill Yukhin kyukhin at tarantool.org
Mon Oct 28 09:19:36 MSK 2019


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.

--
Regards, Kirill Yukhin


More information about the Tarantool-patches mailing list