From: Vladislav Shpilevoy <v.shpilevoy@tarantool.org>
To: Serge Petrenko <sergepetrenko@tarantool.org>
Cc: tarantool-patches@dev.tarantool.org
Subject: Re: [Tarantool-patches] [PATCH v2 0/4] introduce indices over UUID
Date: Sat, 11 Apr 2020 20:01:57 +0200 [thread overview]
Message-ID: <f9159418-5010-51e3-c23d-b594f1f8c5d5@tarantool.org> (raw)
In-Reply-To: <cover.1586476073.git.sergepetrenko@tarantool.org>
Thanks for the patchset!
LGTM.
I don't know whether a second review is needed. Feel
free to send to anybody else or ping Kirill right
away.
On 10/04/2020 01:50, Serge Petrenko wrote:
> https://github.com/tarantool/tarantool/issues/4268
> https://github.com/tarantool/tarantool/tree/sp/gh-4268-uuid-type
>
> Changes in v2:
> - disallow to insert strings and binstrings
> to uuid fields.
> - move mp_uuid files to uuid lib
> - extract mpstream to a separate lib
> - review fixes as per review from Vlad
>
> Serge Petrenko (4):
> refactoring: extract mpstream into a separate library
> uuid: expose tt_uuid_validate method
> box: add MsgPack encoding/decoding for UUID
> box: introduce indices by UUID
>
> extra/exports | 3 +
> src/CMakeLists.txt | 2 +-
> src/box/CMakeLists.txt | 2 +-
> src/box/field_def.c | 32 +++++----
> src/box/field_def.h | 1 +
> src/box/lua/call.c | 2 +-
> src/box/lua/misc.cc | 2 +-
> src/box/lua/net_box.c | 2 +-
> src/box/lua/tuple.c | 2 +-
> src/box/sql.c | 3 +-
> src/box/sql/func.c | 2 +-
> src/box/sql/vdbe.c | 2 +-
> src/box/sql/vdbemem.c | 2 +-
> src/box/tuple_compare.cc | 59 ++++++++++++++++
> src/box/xrow.c | 2 +-
> src/lib/CMakeLists.txt | 1 +
> src/lib/core/CMakeLists.txt | 1 -
> src/lib/core/mp_extension_types.h | 2 +
> src/lib/mpstream/CMakeLists.txt | 2 +
> src/lib/{core => mpstream}/mpstream.c | 13 +++-
> src/lib/{core => mpstream}/mpstream.h | 5 ++
> src/lib/msgpuck | 2 +-
> src/lib/uuid/CMakeLists.txt | 2 +-
> src/lib/uuid/mp_uuid.c | 98 +++++++++++++++++++++++++++
> src/lib/uuid/mp_uuid.h | 90 ++++++++++++++++++++++++
> src/lib/uuid/tt_uuid.c | 3 +
> src/lib/uuid/tt_uuid.h | 16 +++--
> src/lua/msgpack.c | 29 ++++++--
> src/lua/msgpackffi.lua | 14 ++++
> src/lua/utils.c | 20 ++++++
> src/lua/utils.h | 5 ++
> src/lua/uuid.lua | 9 ---
> test/app-tap/lua/serializer_test.lua | 8 +++
> test/app-tap/msgpackffi.test.lua | 3 +-
> test/app/msgpack.result | 21 ++++++
> test/app/msgpack.test.lua | 13 ++++
> test/app/uuid.result | 13 +++-
> test/app/uuid.test.lua | 5 ++
> test/box/tuple.result | 81 ++++++++++++++++++++++
> test/box/tuple.test.lua | 25 +++++++
> test/engine/ddl.result | 97 +++++++++++++++++++++++++-
> test/engine/ddl.test.lua | 42 +++++++++++-
> test/engine/uuid.result | 55 +++++++++++++++
> test/engine/uuid.test.lua | 27 ++++++++
> test/unit/uuid.c | 25 ++++++-
> test/unit/uuid.result | 8 ++-
> third_party/lua-cjson/lua_cjson.c | 27 +++++---
> third_party/lua-yaml/lyaml.cc | 17 ++++-
> 48 files changed, 829 insertions(+), 68 deletions(-)
> create mode 100644 src/lib/mpstream/CMakeLists.txt
> rename src/lib/{core => mpstream}/mpstream.c (95%)
> rename src/lib/{core => mpstream}/mpstream.h (97%)
> create mode 100644 src/lib/uuid/mp_uuid.c
> create mode 100644 src/lib/uuid/mp_uuid.h
> create mode 100644 test/engine/uuid.result
> create mode 100644 test/engine/uuid.test.lua
>
next prev parent reply other threads:[~2020-04-11 18:02 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-09 23:50 Serge Petrenko
2020-04-09 23:50 ` [Tarantool-patches] [PATCH v2 1/4] refactoring: extract mpstream into a separate library Serge Petrenko
2020-04-10 16:56 ` Vladislav Shpilevoy
2020-04-11 13:12 ` Serge Petrenko
2020-04-09 23:50 ` [Tarantool-patches] [PATCH v2 2/4] uuid: expose tt_uuid_validate method Serge Petrenko
2020-04-09 23:50 ` [Tarantool-patches] [PATCH v2 3/4] box: add MsgPack encoding/decoding for UUID Serge Petrenko
2020-04-10 16:56 ` Vladislav Shpilevoy
2020-04-11 14:14 ` Serge Petrenko
2020-04-09 23:50 ` [Tarantool-patches] [PATCH v2 4/4] box: introduce indices by UUID Serge Petrenko
2020-04-10 16:56 ` Vladislav Shpilevoy
2020-04-11 14:14 ` Serge Petrenko
2020-04-10 12:27 ` [Tarantool-patches] [PATCH v2 0/4] introduce indices over UUID Serge Petrenko
2020-04-11 18:01 ` Vladislav Shpilevoy [this message]
2020-04-13 13:52 ` Kirill Yukhin
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=f9159418-5010-51e3-c23d-b594f1f8c5d5@tarantool.org \
--to=v.shpilevoy@tarantool.org \
--cc=sergepetrenko@tarantool.org \
--cc=tarantool-patches@dev.tarantool.org \
--subject='Re: [Tarantool-patches] [PATCH v2 0/4] introduce indices over UUID' \
/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