From: Imeev Mergen <imeevma@tarantool.org>
To: tarantool-patches@freelists.org
Subject: [tarantool-patches] Re: [PATCH 0/5] Expose ephemeral spaces into Lua
Date: Thu, 12 Jul 2018 14:30:19 +0300 [thread overview]
Message-ID: <64ce4d38-adfe-33b7-6955-69894fb681bb@tarantool.org> (raw)
In-Reply-To: <cover.1531393821.git.imeevma@gmail.com>
These patches allow us use ephemeral spaces in Lua. Ephemeral spaces are
special spaces that in most cases work in the same way as usual spaces
(for users), but they do not touch transactions and are local to one Lua
session. The are deleted by GC when there is no references to them. They
can be created and deleted but cannot be altered. Till now they were
used to process some sql queries.
On 07/12/2018 02:16 PM, imeevma@tarantool.org wrote:
> Branch: https://github.com/tarantool/tarantool/compare/imeevma/gh-3375-lua-expose-ephemeral-spaces
> Issue: https://github.com/tarantool/tarantool/issues/3375
>
> Mergen Imeev (5):
> Create new methods for ephemeral spaces
> Move some decode functions from alter.cc
> Ephemeral space creation and deletion in Lua
> Primary index for ephemeral spaces
> Methods for ephemeral space and its index
>
> src/box/alter.cc | 203 +-
> src/box/box.cc | 170 +
> src/box/box.h | 51 +
> src/box/index.cc | 172 +
> src/box/index.h | 140 +
> src/box/index_def.c | 102 +
> src/box/index_def.h | 26 +
> src/box/lua/info.h | 4 -
> src/box/lua/schema.lua | 321 ++
> src/box/lua/space.cc | 669 +++
> src/box/memtx_space.c | 210 +-
> src/box/memtx_tree.c | 5 +
> src/box/space.h | 17 -
> src/box/space_def.c | 150 +
> src/box/space_def.h | 15 +
> src/box/sql.c | 10 +-
> src/box/sysview_engine.c | 22 -
> src/box/vinyl.c | 22 -
> test/box/ephemeral_space.result | 8461 +++++++++++++++++++++++++++++++++++++
> test/box/ephemeral_space.test.lua | 1864 ++++++++
> test/engine/iterator.result | 2 +-
> 21 files changed, 12335 insertions(+), 301 deletions(-)
> create mode 100644 test/box/ephemeral_space.result
> create mode 100644 test/box/ephemeral_space.test.lua
>
prev parent reply other threads:[~2018-07-12 11:30 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-12 11:16 [tarantool-patches] " imeevma
2018-07-12 11:16 ` [tarantool-patches] [PATCH 1/5] Create new methods for ephemeral spaces imeevma
2018-07-13 16:32 ` [tarantool-patches] " Vladislav Shpilevoy
2018-07-12 11:16 ` [tarantool-patches] [PATCH 2/5] Move some decode functions from alter.cc imeevma
2018-07-13 16:32 ` [tarantool-patches] " Vladislav Shpilevoy
2018-07-12 11:16 ` [tarantool-patches] [PATCH 3/5] Ephemeral space creation and deletion in Lua imeevma
2018-07-13 16:32 ` [tarantool-patches] " Vladislav Shpilevoy
2018-07-12 11:16 ` [tarantool-patches] [PATCH 4/5] Primary index for ephemeral spaces imeevma
2018-07-13 16:32 ` [tarantool-patches] " Vladislav Shpilevoy
2018-07-12 11:16 ` [tarantool-patches] [PATCH 5/5] Methods for ephemeral space and its index imeevma
2018-07-13 16:32 ` [tarantool-patches] " Vladislav Shpilevoy
2018-07-12 11:30 ` Imeev Mergen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=64ce4d38-adfe-33b7-6955-69894fb681bb@tarantool.org \
--to=imeevma@tarantool.org \
--cc=tarantool-patches@freelists.org \
--subject='[tarantool-patches] Re: [PATCH 0/5] Expose ephemeral spaces into Lua' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox