[Tarantool-patches] [PATCH v2 0/2] Unthrottle vinyl scheduler on manual checkpoint

Nikita Pettik korablev at tarantool.org
Tue Apr 28 04:03:41 MSK 2020


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



More information about the Tarantool-patches mailing list