[PATCH] vinyl: cancel reader and writer threads on shutdown

Konstantin Osipov kostja at tarantool.org
Mon Feb 11 21:16:05 MSK 2019


* Vladimir Davydov <vdavydov.dev at gmail.com> [19/02/11 20:41]:
> Currently, vinyl won't shutdown until all reader and writer threads
> gracefully complete all their pending requests, which may take a while,
> especially for writer threads that may happen to be doing compaction at
> the time. This is annoying - there's absolutely no reason to delay
> termination in such a case. Let's forcefully cancel all threads, like we
> do in case of relay threads.
> 
> This should fix sporadic vinyl/replica_quota test hang.
> 
> Closes #3949

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