Allow to increase box.cfg.vinyl_memory and memtx_memory at runtime
Slab arena can grow dynamically so all we need to do is increase the quota limit. Decreasing the limits is still explicitly prohibited, because slab arena never unmaps slabs. Closes #2634
Showing
- src/box/box.cc 18 additions, 0 deletionssrc/box/box.cc
- src/box/box.h 2 additions, 0 deletionssrc/box/box.h
- src/box/lua/cfg.cc 24 additions, 0 deletionssrc/box/lua/cfg.cc
- src/box/lua/load_cfg.lua 4 additions, 0 deletionssrc/box/lua/load_cfg.lua
- src/box/memtx_engine.c 12 additions, 0 deletionssrc/box/memtx_engine.c
- src/box/memtx_engine.h 10 additions, 0 deletionssrc/box/memtx_engine.h
- src/box/vinyl.c 12 additions, 0 deletionssrc/box/vinyl.c
- src/box/vinyl.h 13 additions, 0 deletionssrc/box/vinyl.h
- src/box/vy_quota.h 1 addition, 0 deletionssrc/box/vy_quota.h
- test/box/cfg.result 6 additions, 0 deletionstest/box/cfg.result
- test/box/cfg.test.lua 3 additions, 0 deletionstest/box/cfg.test.lua
- test/box/lua/cfg_memory.lua 10 additions, 0 deletionstest/box/lua/cfg_memory.lua
- test/box/reconfigure.result 82 additions, 1 deletiontest/box/reconfigure.result
- test/box/reconfigure.test.lua 32 additions, 0 deletionstest/box/reconfigure.test.lua
- test/vinyl/quota.result 77 additions, 0 deletionstest/vinyl/quota.result
- test/vinyl/quota.test.lua 33 additions, 0 deletionstest/vinyl/quota.test.lua
- test/vinyl/quota_timeout.result 28 additions, 2 deletionstest/vinyl/quota_timeout.result
- test/vinyl/quota_timeout.test.lua 12 additions, 0 deletionstest/vinyl/quota_timeout.test.lua
Loading
Please register or sign in to comment