[Tarantool-patches] [PATCH] replication: cancel replica joining thread at exit

Kirill Yukhin kyukhin at tarantool.org
Thu Oct 24 08:09:55 MSK 2019


Hello,

On 15 окт 18:50, Ilya Kosarev wrote:
> If a tarantool instance exits while joining replica is in progress,
> the replica joining thread can access already freed data resulting
> in a crash. Let's fix this the same way we did for checkpoint thread
> - simply cancel the thread forcefully and wait for it to terminate.
> 
> Closes #4528
> ---
> https://github.com/tarantool/tarantool/tree/i.kosarev/gh-4528-fix-shutdown-on-replica-join
> https://github.com/tarantool/tarantool/issues/4528

I've checked your patch into master.

--
Regards, Kirill Yukhin


More information about the Tarantool-patches mailing list