[tarantool-patches] [PATCH 0/7] swim lua preparation, again
Vladislav Shpilevoy
v.shpilevoy at tarantool.org
Wed May 15 02:06:18 MSK 2019
This patchset consists of patches quite independent and needed for proper
functioning of SWIM Lua API. Most of them are refactoring, and a couple of bug
fixes.
Branch: http://github.com/tarantool/tarantool/tree/gerold103/swim-lua-preparation
Issue: https://github.com/tarantool/tarantool/issues/3234
Vladislav Shpilevoy (7):
swim: drop swim_info() function
swim: encapsulate 'uint16' payload size inside swim.c
swim: do not rebind when new 'port' is 0
swim: set 'left' status in self on swim_quit()
msgpack: allow to pass 'struct ibuf *' into encode()
msgpack: allow to pass 'const char *' into decode()
Drop an unused function and class
src/box/lua/merger.c | 24 ++---------------
src/lib/swim/swim.c | 29 ++++----------------
src/lib/swim/swim.h | 9 ++-----
src/lib/swim/swim_transport_udp.c | 14 ++++++++--
src/lua/msgpack.c | 28 ++++++--------------
src/lua/utils.c | 43 ++++++++++++++++++++++++++++++
src/lua/utils.h | 44 +++++++++++++------------------
test/app-tap/msgpack.test.lua | 7 ++---
test/app/msgpack.result | 44 ++++++++++++++++++++++++++++++-
test/app/msgpack.test.lua | 16 +++++++++++
test/unit/swim.c | 20 +++++++++-----
test/unit/swim.result | 21 ++++++++-------
test/unit/swim_test_utils.c | 12 ++++-----
test/unit/swim_test_utils.h | 6 ++---
14 files changed, 187 insertions(+), 130 deletions(-)
--
2.20.1 (Apple Git-117)
More information about the Tarantool-patches
mailing list