From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Vladislav Shpilevoy Subject: [PATCH 0/5] session: introduce box.session.push Date: Mon, 19 Mar 2018 16:34:47 +0300 Message-Id: To: tarantool-patches@freelists.org Cc: vdavydov.dev@gmail.com, Vladislav Shpilevoy List-ID: Branch: http://github.com/tarantool/tarantool/tree/gh-2677-box-session-push Issue: https://github.com/tarantool/tarantool/issues/2677 Vladislav Shpilevoy (5): session: forbid creation from Lua binary and applier sessions lua: port console yaml formatting to C Remove empty function declaration session: introduce session_owner session: introduce box.session.push src/box/applier.cc | 4 +- src/box/authentication.cc | 4 +- src/box/authentication.h | 3 +- src/box/box.cc | 4 +- src/box/box.h | 2 +- src/box/iproto.cc | 321 +++++++++++++++++++++++---- src/box/iproto_constants.c | 3 +- src/box/iproto_constants.h | 8 + src/box/lua/call.c | 1 + src/box/lua/console.c | 42 ++++ src/box/lua/console.h | 8 + src/box/lua/console.lua | 40 +--- src/box/lua/net_box.c | 37 ++++ src/box/lua/net_box.lua | 97 ++++++-- src/box/lua/session.c | 252 ++++++++++++++++++++- src/box/port.c | 7 + src/box/port.h | 15 ++ src/box/session.cc | 86 +++++++- src/box/session.h | 106 +++++++-- src/box/vinyl.c | 3 +- src/box/xrow.c | 40 +++- src/box/xrow.h | 26 ++- src/fio.c | 12 + src/fio.h | 16 ++ src/lua/socket.h | 2 - test/app-tap/console.test.lua | 9 +- test/box-tap/session.test.lua | 12 +- test/box/net.box.result | 2 +- test/box/net.box.test.lua | 2 +- test/box/push.result | 364 +++++++++++++++++++++++++++++++ test/box/push.test.lua | 163 ++++++++++++++ test/replication/before_replace.result | 14 ++ test/replication/before_replace.test.lua | 11 + third_party/lua-yaml/lyaml.cc | 9 +- third_party/lua-yaml/lyaml.h | 3 + 35 files changed, 1576 insertions(+), 152 deletions(-) create mode 100644 test/box/push.result create mode 100644 test/box/push.test.lua -- 2.14.3 (Apple Git-98)