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

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Thu Mar 5 03:14:18 MSK 2020


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)



More information about the Tarantool-patches mailing list