Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH v2 0/2] Unthrottle vinyl scheduler on manual checkpoint
@ 2020-04-28  1:03 Nikita Pettik
  2020-04-28  1:03 ` [Tarantool-patches] [PATCH v2 1/2] engine: add is_scheduled arg to engine->begin_checkpoint Nikita Pettik
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Nikita Pettik @ 2020-04-28  1:03 UTC (permalink / raw)
  To: tarantool-patches; +Cc: v.shpilevoy

Branch: https://github.com/tarantool/tarantool/tree/np/gh-3519-unthrottle-sched-master-v2
Issue: https://github.com/tarantool/tarantool/issues/3519

Changes in v2:
 - now scheduler is unthrottled only on manual checkpoints, i.e.
fired via explicit box.snapshot() invocation. Scheduled checkpoints
still can be subjected to throttling;
 - to unthrottle scheduler only on manual checkpoints, auxiliary
boolean argument to engine->vtab->begin_checkpoint() is introduced
to tell checkpoint fired via daemon from checkpoint fired via box.snapshot();
 - patch-set has been re-based on master branch instead of 1.10.

@ChangeLog (2.5):
* box.snapshot() now ignores

Nikita Pettik (2):
  engine: add is_scheduled arg to engine->begin_checkpoint
  vinyl: unthrottle scheduler on manual checkpoint

 src/box/engine.c                 |  7 ++++---
 src/box/engine.h                 |  6 +++---
 src/box/gc.c                     |  8 ++++----
 src/box/memtx_engine.c           |  3 ++-
 src/box/vinyl.c                  |  5 +++--
 src/box/vy_scheduler.c           | 21 ++++++++++++++-------
 src/box/vy_scheduler.h           |  2 +-
 test/box/errinj.result           |  8 --------
 test/box/errinj.test.lua         |  2 --
 test/vinyl/errinj.result         |  8 --------
 test/vinyl/errinj.test.lua       |  3 ---
 test/vinyl/errinj_stat.result    |  8 --------
 test/vinyl/errinj_stat.test.lua  |  2 --
 test/vinyl/errinj_vylog.result   | 28 ----------------------------
 test/vinyl/errinj_vylog.test.lua |  8 --------
 15 files changed, 31 insertions(+), 88 deletions(-)

-- 
2.17.1

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-05-27 13:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-28  1:03 [Tarantool-patches] [PATCH v2 0/2] Unthrottle vinyl scheduler on manual checkpoint Nikita Pettik
2020-04-28  1:03 ` [Tarantool-patches] [PATCH v2 1/2] engine: add is_scheduled arg to engine->begin_checkpoint Nikita Pettik
2020-04-28  1:03 ` [Tarantool-patches] [PATCH v2 2/2] vinyl: unthrottle scheduler on manual checkpoint Nikita Pettik
2020-05-03 17:01 ` [Tarantool-patches] [PATCH v2 0/2] Unthrottle vinyl " Vladislav Shpilevoy
2020-05-27 13:40   ` Nikita Pettik

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