[PATCH 0/3] Allow to completely disable vinyl cache
Vladimir Davydov
vdavydov.dev at gmail.com
Mon Feb 26 20:47:09 MSK 2018
Patch 1 makes box.cfg.vinyl_cache option dynamic - this simplifies
writing the test. Patch 2 disables cache population if vinyl_cache
is 0. Patch 3 removes some useless errinj checks from vy_cache.c.
https://github.com/tarantool/tarantool/issues/3172
https://github.com/tarantool/tarantool/tree/gh-3172-vy-allow-to-completely-disable-cache
Vladimir Davydov (3):
vinyl: allow to resize cache online
vinyl: don't populate cache if box.cfg.vinyl_cache is 0
vinyl: remove unused error injection handling in cache
src/box/box.cc | 11 ++++++-
src/box/box.h | 1 +
src/box/lua/cfg.cc | 12 ++++++++
src/box/lua/load_cfg.lua | 1 +
src/box/vinyl.c | 14 ++++++---
src/box/vinyl.h | 12 ++++++--
src/box/vy_cache.c | 43 +++++++++++---------------
src/box/vy_cache.h | 15 +++++++--
test/unit/vy_iterators_helper.c | 3 +-
test/unit/vy_point_lookup.c | 3 +-
test/vinyl/cache.result | 67 +++++++++++++++++++++++++++++++++++++++++
test/vinyl/cache.test.lua | 24 +++++++++++++++
12 files changed, 168 insertions(+), 38 deletions(-)
--
2.11.0
More information about the Tarantool-patches
mailing list