[Tarantool-patches] [PATCH vshard 0/4] Router msgpack object and netbox return_raw

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Wed Feb 9 03:32:30 MSK 2022


The patchset makes router support 'return_raw' option for all router calls, and
user's function arguments as 'msgpack' object.

It is not benchmarked whether it helps much. But the solution with the current
msgpack object API can't be any better anyway. The feature must be supported
regardless of what benches will show on the next step.

Branch: http://github.com/tarantool/vshard/tree/gerold103/gh-312-raw-call
Issue: https://github.com/tarantool/vshard/issues/312

Vladislav Shpilevoy (4):
  test: support luatest
  util: introduce Tarantool's semver parser
  router: support msgpack object args
  router: support netbox return_raw

 test-run                             |   2 +-
 test/instances/router.lua            |  16 ++
 test/instances/storage.lua           |  26 +++
 test/luatest_helpers.lua             |  72 ++++++++
 test/luatest_helpers/asserts.lua     |  43 +++++
 test/luatest_helpers/cluster.lua     | 132 +++++++++++++
 test/luatest_helpers/server.lua      | 266 +++++++++++++++++++++++++++
 test/luatest_helpers/vtest.lua       | 135 ++++++++++++++
 test/reload_evolution/storage.result |   4 -
 test/router-luatest/router_test.lua  | 187 +++++++++++++++++++
 test/router-luatest/suite.ini        |   5 +
 test/storage/storage.result          |   2 -
 test/unit-luatest/suite.ini          |   5 +
 test/unit-luatest/version_test.lua   | 179 ++++++++++++++++++
 vshard/CMakeLists.txt                |   2 +-
 vshard/replicaset.lua                |   4 -
 vshard/router/init.lua               |  30 ++-
 vshard/storage/init.lua              |  17 +-
 vshard/util.lua                      |  28 +--
 vshard/version.lua                   | 148 +++++++++++++++
 20 files changed, 1275 insertions(+), 28 deletions(-)
 create mode 100755 test/instances/router.lua
 create mode 100755 test/instances/storage.lua
 create mode 100644 test/luatest_helpers.lua
 create mode 100644 test/luatest_helpers/asserts.lua
 create mode 100644 test/luatest_helpers/cluster.lua
 create mode 100644 test/luatest_helpers/server.lua
 create mode 100644 test/luatest_helpers/vtest.lua
 create mode 100644 test/router-luatest/router_test.lua
 create mode 100644 test/router-luatest/suite.ini
 create mode 100644 test/unit-luatest/suite.ini
 create mode 100644 test/unit-luatest/version_test.lua
 create mode 100644 vshard/version.lua

-- 
2.24.3 (Apple Git-128)



More information about the Tarantool-patches mailing list