[tarantool-patches] [PATCH 0/2][vshard] Vshard safe reload
AKhatskevich
avkhatskevich at tarantool.org
Sat Jun 9 20:47:14 MSK 2018
Branch: https://github.com/tarantool/vshard/tree/kh/gh-112-reload-mt-2
Issue: https://github.com/tarantool/vshard/issues/112
Two commits:
* Add test on error during reconfigure
* Complete module reload
reloads entire vshard, deprecating old objects
test/lua_libs/util.lua | 16 +++++++
test/router/reload.result | 109 ++++++++++++++++++++++++++++++++++++++++++
test/router/reload.test.lua | 41 ++++++++++++++++
test/router/router.result | 30 +++++++++++-
test/router/router.test.lua | 10 ++++
test/storage/reload.result | 61 +++++++++++++++++++++++
test/storage/reload.test.lua | 24 ++++++++++
test/storage/storage.result | 33 +++++++++++++
test/storage/storage.test.lua | 12 +++++
vshard/replicaset.lua | 91 ++++++++++++++++++++++++++++-------
vshard/router/init.lua | 47 ++++++++++++++----
vshard/storage/init.lua | 53 +++++++++++++++-----
vshard/util.lua | 20 ++++++++
13 files changed, 506 insertions(+), 41 deletions(-)
--
2.14.1
More information about the Tarantool-patches
mailing list