From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp5.mail.ru (smtp5.mail.ru [94.100.179.24]) (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 5079F469719 for ; Thu, 5 Mar 2020 03:14:23 +0300 (MSK) From: Vladislav Shpilevoy Date: Thu, 5 Mar 2020 01:14:18 +0100 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH 0/2] box.cfg() check memtx/vinyl_memory List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: tarantool-patches@dev.tarantool.org, korablev@tarantool.org, imun@tarantool.org The patchset fixes 1) forgotten diag_raise() for sql cache size check; 2) assertion when memtx_memory is too big. Branch: http://github.com/tarantool/tarantool/tree/gerold103/gh-4705-memtx-memory-too-big Issue: https://github.com/tarantool/tarantool/issues/4705 @ChangeLog - It is not possible to set memtx_memory and vinyl_memory more than 4398046510080 bytes now (gh-4705). Vladislav Shpilevoy (2): box: fail in box_check_config() on bad sql cache size box: on cfg properly check memory quota src/box/box.cc | 49 +++++++++++++++++++++---------------------- test/box/cfg.result | 19 +++++++++++++++-- test/box/cfg.test.lua | 5 +++++ 3 files changed, 46 insertions(+), 27 deletions(-) -- 2.21.1 (Apple Git-122.3)