[Tarantool-patches] [PATCH 0/2] box.cfg() check memtx/vinyl_memory

Nikita Pettik korablev at tarantool.org
Fri Mar 20 16:56:22 MSK 2020


On 05 Mar 01:14, Vladislav Shpilevoy wrote:
> 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).

Pushed first patch to master and 2.3, second one to master, 2.3 and 2.2.
Updated changelogs correspondingly. Branch is dropped.
 
> 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)
> 


More information about the Tarantool-patches mailing list