[tarantool-patches] Re: [PATCH] box: serialize calls to box.cfg

Kirill Yukhin kyukhin at tarantool.org
Tue Aug 7 14:39:48 MSK 2018


Hello,
On 07 авг 12:43, Vladimir Davydov wrote:
> It is dangerous to call box.cfg() concurrently from different fibers.
> For example, replication configuration uses static variables and yields
> so calling it concurrently can result in a crash. To make sure it never
> happens, let's protect box.cfg() with a lock.
> 
> Closes #3606
> ---
> https://github.com/tarantool/tarantool/issues/3606
> https://github.com/tarantool/tarantool/tree/dv/gh-3606-concurrent-replication-cfg-fix
I've merged final version of the patch into 1.9 branch.

--
Regards, Kirill Yukhin




More information about the Tarantool-patches mailing list