[tarantool-patches] Re: [PATCH] memtx: cancel checkpoint thread at exit

Konstantin Osipov kostja at tarantool.org
Thu Apr 18 20:24:04 MSK 2019


* Vladimir Davydov <vdavydov.dev at gmail.com> [19/04/18 18:47]:
> If a tarantool instance exits while checkpointing is in progress, the
> memtx checkpoint thread, which writes the snap file, can access already
> freed data resulting in a crash. Let's fix this the same way we did for
> relay and vinyl threads - simply cancel the thread forcefully and wait
> for it to terminate.

OK to push.


-- 
Konstantin Osipov, Moscow, Russia, +7 903 626 22 32
http://tarantool.io - www.twitter.com/kostja_osipov




More information about the Tarantool-patches mailing list