From: Konstantin Osipov <kostja.osipov@gmail.com>
To: Nikita Pettik <korablev@tarantool.org>
Cc: tarantool-patches@dev.tarantool.org,
Vladislav Shpilevoy <v.shpilevoy@tarantool.org>
Subject: Re: [Tarantool-patches] [PATCH] vinyl: unthrottle scheduler on checkpoint
Date: Mon, 27 Apr 2020 18:48:40 +0300 [thread overview]
Message-ID: <20200427154840.GB2279@atlas> (raw)
In-Reply-To: <20200427153725.GG30870@tarantool.org>
* Nikita Pettik <korablev@tarantool.org> [20/04/27 18:40]:
> > > > > Checkpoint daemon uses directly box.snapshot(), so now we can't tell
> > > > > whether checkpoint is launched manually or automatically. To differ
> > > > > these scenarious we can make checkpoint daemon call sort of
> > > > > box.__scheduled_snapshot() (which won't be part of public API ofc).
> > > > > Then we will be able to pass boolean parameter to begin_checkpoint()
> > > > > indicating manual/auto mode. Or simply close issue as wont fix :)
> > > >
> > > > Uhm, no, checkpoint daemon uses gc_do_checkpoint() and it doesn't
> > > > use box.snapshot().
> > >
> > > Seems we are looking at different branches: 1.10 still uses checkpoint
> > > daemon written in Lua. If this patch should be pushed to master branch
> > > only, then I guess it would be easy to patch engine_begin_checkpoint()
> > > and make it accept argument responsible for checkpoint mode (scheduled
> > > or manual).
> >
> > Why do you need to fix 1.10?
>
> For instance, it would make test backporting process easier.
> Otherwise we will get different behaviours while using
> ERRINJ_VY_SCHED_TIMEOUT error injection.
Well, I guess then 1.10 will require a separate fix.
I don't see why you even consider a possibility of unthrottling
the scheduling in all cases in 1.10. It's a stable/lts release,
and what you're trying to do is not any customer's problem, you
simply shouldn't risk breaking ppl for no good reason.
--
Konstantin Osipov, Moscow, Russia
https://scylladb.com
next prev parent reply other threads:[~2020-04-27 15:48 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-31 14:42 Nikita Pettik
2020-03-31 14:53 ` Konstantin Osipov
2020-04-21 23:13 ` Vladislav Shpilevoy
2020-04-22 0:32 ` Konstantin Osipov
2020-04-27 12:17 ` Nikita Pettik
2020-04-27 12:39 ` Konstantin Osipov
2020-04-27 15:18 ` Nikita Pettik
2020-04-27 15:20 ` Konstantin Osipov
2020-04-27 15:37 ` Nikita Pettik
2020-04-27 15:48 ` Konstantin Osipov [this message]
2020-04-27 15:52 ` Nikita Pettik
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=20200427154840.GB2279@atlas \
--to=kostja.osipov@gmail.com \
--cc=korablev@tarantool.org \
--cc=tarantool-patches@dev.tarantool.org \
--cc=v.shpilevoy@tarantool.org \
--subject='Re: [Tarantool-patches] [PATCH] vinyl: unthrottle scheduler on checkpoint' \
/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