From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp54.i.mail.ru (smtp54.i.mail.ru [217.69.128.34]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id DB9D34696C3 for ; Tue, 28 Apr 2020 04:03:46 +0300 (MSK) From: Nikita Pettik Date: Tue, 28 Apr 2020 04:03:41 +0300 Message-Id: Subject: [Tarantool-patches] [PATCH v2 0/2] Unthrottle vinyl scheduler on manual checkpoint List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: tarantool-patches@dev.tarantool.org Cc: v.shpilevoy@tarantool.org 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