From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id 76F7E6E21E; Wed, 9 Feb 2022 03:32:37 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 76F7E6E21E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1644366757; bh=kIaoUisAJffSqfKRvPbN1M/pSIxPXVwjhgKhrq14aps=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=MGV0chSU++jhpIquQao1xgwOPxSqXJ/5Zh30jtDqpTOhhOevm3Cd6Zeyx9UVjNH/d v5Svv+N3qCVd8BitfeKrNwUlxqOXhzX7hDaf7u9SqitTX+Tm11reaJl8Ig+Q6ChRsS 77l23n8x7H1kfyvp6ZJRxu4nAG0T/2iPEs4h/Qvs= Received: from smtpng1.i.mail.ru (smtpng1.i.mail.ru [94.100.181.251]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id E5C766E454 for ; Wed, 9 Feb 2022 03:32:35 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org E5C766E454 Received: by smtpng1.m.smailru.net with esmtpa (envelope-from ) id 1nHauR-00019d-4I; Wed, 09 Feb 2022 03:32:35 +0300 To: tarantool-patches@dev.tarantool.org, olegrok@tarantool.org Date: Wed, 9 Feb 2022 01:32:30 +0100 Message-Id: X-Mailer: git-send-email 2.24.3 (Apple Git-128) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-7564579A: B8F34718100C35BD X-77F55803: 4F1203BC0FB41BD9B74B50284A7C1A0BC757C3396C1D21A450824C43D37379F8182A05F53808504006776A833FA81004919BF0390F732E88FA8C12BCCA1AF4C7EA711B8B223D4E27 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7C2204D4F9A221771EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F79006370CE92FB8C11ED3D88638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D807B041D9141195DB5B1F3AAC8BB6A1BF117882F4460429724CE54428C33FAD305F5C1EE8F4F765FCAA867293B0326636D2E47CDBA5A96583BD4B6F7A4D31EC0BC014FD901B82EE079FA2833FD35BB23D27C277FBC8AE2E8BAA867293B0326636D2E47CDBA5A96583BA9C0B312567BB231DD303D21008E29813377AFFFEAFD269A417C69337E82CC2E827F84554CEF50127C277FBC8AE2E8BA83251EDC214901ED5E8D9A59859A8B66F6A3E018CF4DC80089D37D7C0E48F6C5571747095F342E88FB05168BE4CE3AF X-8FC586DF: 6EFBBC1D9D64D975 X-C1DE0DAB: C20DE7B7AB408E4181F030C43753B8186998911F362727C414F749A5E30D975CB976C8CDE8F8DDC8D3B69442E76E3419F94E68FAE378A5749C2B6934AE262D3EE7EAB7254005DCED4280523C125DA0911E0A4E2319210D9B64D260DF9561598F01A9E91200F654B0FEFB8A20A2F5DA258E8E86DC7131B365E7726E8460B7C23C X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D347341ACA13FB8BDD968AF465DD5FC89DD0F786EEA49A7EEA916BFF3A014FAE7D6DF65F88163F135AE1D7E09C32AA3244C3A78317391E6DE37CD8116742961165681560E2432555DBB729B2BEF169E0186 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojbL9S8ysBdXjNVpMEdJiBAof8dSLCtr6+ X-Mailru-Sender: 689FA8AB762F739339CABD9B3CA9A7D652C7AAD0E7C406F476C68DBBFE0F1EF23841015FED1DE5223CC9A89AB576DD93FB559BB5D741EB963CF37A108A312F5C27E8A8C3839CE0E25FEEDEB644C299C0ED14614B50AE0675 X-Mras: Ok Subject: [Tarantool-patches] [PATCH vshard 0/4] Router msgpack object and netbox return_raw X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Vladislav Shpilevoy via Tarantool-patches Reply-To: Vladislav Shpilevoy Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" 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)