Tarantool development patches archive
 help / color / mirror / Atom feed
From: Konstantin Osipov <kostja@tarantool.org>
To: Vladimir Davydov <vdavydov.dev@gmail.com>
Cc: tarantool-patches@freelists.org
Subject: Re: [PATCH] vinyl: cancel reader and writer threads on shutdown
Date: Mon, 11 Feb 2019 21:16:05 +0300	[thread overview]
Message-ID: <20190211181605.GB9960@chai> (raw)
In-Reply-To: <5448d74ca0079657d09b342c639013d5b00f7899.1549906085.git.vdavydov.dev@gmail.com>

* Vladimir Davydov <vdavydov.dev@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

  reply	other threads:[~2019-02-11 18:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-11 17:37 Vladimir Davydov
2019-02-11 18:16 ` Konstantin Osipov [this message]
2019-02-12  9:02   ` Vladimir Davydov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190211181605.GB9960@chai \
    --to=kostja@tarantool.org \
    --cc=tarantool-patches@freelists.org \
    --cc=vdavydov.dev@gmail.com \
    --subject='Re: [PATCH] vinyl: cancel reader and writer threads on shutdown' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox