From: imeevma@tarantool.org To: tarantool-patches@freelists.org Subject: [tarantool-patches] [PATCH v3 0/7] Expose ephemeral spaces into Lua Date: Tue, 24 Jul 2018 14:58:06 +0300 [thread overview] Message-ID: <cover.1532433235.git.imeevma@gmail.com> (raw) These patches allow to use ephemeral spaces in Lua. Ephemeral spaces are special spaces that in most cases work in the same way as usual spaces, 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. Branch: https://github.com/tarantool/tarantool/compare/imeevma/gh-3375-lua-expose-ephemeral-spaces Issue: https://github.com/tarantool/tarantool/issues/3375 Mergen Imeev (7): box: add space address to index_replace box: move checks for key findability from space_vtab box: create new methods for ephemeral spaces box: move some decode functions from alter.cc box: ephemeral space creation and deletion in Lua box: primary index for ephemeral spaces box: methods for ephemeral space and its index src/box/alter.cc | 256 +-------- src/box/box.cc | 301 ++++++++--- src/box/box.h | 115 ++++ src/box/index.cc | 174 +++++- src/box/index.h | 167 +++++- src/box/index_def.c | 117 +++++ src/box/index_def.h | 26 + src/box/lua/index.c | 422 ++++++++++++++- src/box/lua/misc.cc | 29 +- src/box/lua/misc.h | 21 + src/box/lua/schema.lua | 406 ++++++++++++-- src/box/lua/space.cc | 281 ++++++++-- src/box/memtx_bitset.c | 7 +- src/box/memtx_engine.c | 6 +- src/box/memtx_hash.c | 13 +- src/box/memtx_rtree.c | 7 +- src/box/memtx_space.c | 412 ++++++++++----- src/box/memtx_tree.c | 17 +- src/box/space.h | 17 - src/box/space_def.c | 155 ++++++ src/box/space_def.h | 18 + src/box/sql.c | 33 +- src/box/sysview.c | 2 - src/box/vinyl.c | 42 -- test/box/ephemeral_space.result | 1047 +++++++++++++++++++++++++++++++++++++ test/box/ephemeral_space.test.lua | 331 ++++++++++++ test/engine/iterator.result | 2 +- 27 files changed, 3800 insertions(+), 624 deletions(-) create mode 100644 test/box/ephemeral_space.result create mode 100644 test/box/ephemeral_space.test.lua -- 2.7.4
next reply other threads:[~2018-07-24 11:58 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-07-24 11:58 imeevma [this message] 2018-07-24 11:58 ` [tarantool-patches] [PATCH v3 1/7] box: add space address to index_replace imeevma 2018-07-24 11:58 ` [tarantool-patches] [PATCH v3 2/7] box: move checks for key findability from space_vtab imeevma 2018-07-24 11:58 ` [tarantool-patches] [PATCH v3 3/7] box: create new methods for ephemeral spaces imeevma 2018-07-24 11:58 ` [tarantool-patches] [PATCH v3 4/7] box: move some decode functions from alter.cc imeevma 2018-07-24 11:58 ` [tarantool-patches] [PATCH v3 5/7] box: ephemeral space creation and deletion in Lua imeevma 2018-07-24 11:58 ` [tarantool-patches] [PATCH v3 6/7] box: primary index for ephemeral spaces imeevma 2018-07-24 11:58 ` [tarantool-patches] [PATCH v3 7/7] box: methods for ephemeral space and its index imeevma
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=cover.1532433235.git.imeevma@gmail.com \ --to=imeevma@tarantool.org \ --cc=tarantool-patches@freelists.org \ --subject='Re: [tarantool-patches] [PATCH v3 0/7] 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