[PATCH] vinyl: cancel reader and writer threads on shutdown
vdavydov.dev at gmail.com
Tue Feb 12 12:02:24 MSK 2019
On Mon, Feb 11, 2019 at 09:16:05PM +0300, Konstantin Osipov wrote:
> * 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.
Pushed to 2.1 and 1.10.
More information about the Tarantool-patches