From: Vladimir Davydov <vdavydov.dev@gmail.com> To: kostja@tarantool.org Cc: tarantool-patches@freelists.org Subject: [PATCH v3 0/3] Allow to build indexes for vinyl spaces Date: Thu, 7 Jun 2018 13:56:15 +0300 [thread overview] Message-ID: <cover.1528368754.git.vdavydov.dev@gmail.com> (raw) This patch set implements the ability to build secondary indexes for non-empty vinyl spaces. For implementation details, see patch 3. https://github.com/tarantool/tarantool/issues/1653 https://github.com/tarantool/tarantool/commits/vy-allow-to-build-secondary-indexes Changes in v3: - Remove merged patches from the patch set. - Rebase tests on top of the latest 1.10. - When building a new index, use original tuple LSNs instead of max LSN to the time. Changes in v2: - Split the patch into logical parts. - Address comments by Konstantin and Vladislav (refactoring mostly). v1: https://www.freelists.org/post/tarantool-patches/PATCH-vinyl-allow-to-build-secondary-index-for-nonempty-space v2: https://www.freelists.org/post/tarantool-patches/PATCH-v2-08-Allow-to-build-indexes-for-vinyl-spaces Vladimir Davydov (3): vinyl: do not yield on dump completion vinyl: relax limitation imposed on run min/max lsn vinyl: allow to build secondary index for non-empty space src/box/vinyl.c | 450 +++++++++++++++++++++++--- src/box/vy_log.c | 2 +- src/box/vy_log.h | 4 +- src/box/vy_lsm.c | 14 +- src/box/vy_lsm.h | 2 +- src/box/vy_quota.h | 10 + src/box/vy_read_iterator.c | 13 - src/box/vy_scheduler.c | 71 +++-- src/box/vy_scheduler.h | 7 + test/box/alter.result | 501 ----------------------------- test/box/alter.test.lua | 159 --------- test/engine/ddl.result | 672 +++++++++++++++++++++++++++++++++++++++ test/engine/ddl.test.lua | 221 +++++++++++++ test/vinyl/ddl.result | 439 ++++++++++++++----------- test/vinyl/ddl.test.lua | 231 +++++++++----- test/vinyl/errinj.result | 312 ++++++++++++++++++ test/vinyl/errinj.test.lua | 134 ++++++++ test/vinyl/errinj_gc.result | 78 ++++- test/vinyl/errinj_gc.test.lua | 38 ++- test/vinyl/errinj_vylog.result | 57 ++++ test/vinyl/errinj_vylog.test.lua | 29 ++ test/vinyl/gh.result | 2 +- 22 files changed, 2396 insertions(+), 1050 deletions(-) -- 2.11.0
next reply other threads:[~2018-06-07 10:56 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-06-07 10:56 Vladimir Davydov [this message] 2018-06-07 10:56 ` [PATCH v3 1/3] vinyl: do not yield on dump completion Vladimir Davydov 2018-06-07 10:56 ` [PATCH v3 2/3] vinyl: relax limitation imposed on run min/max lsn Vladimir Davydov 2018-06-07 10:56 ` [PATCH v3 3/3] vinyl: allow to build secondary index for non-empty space Vladimir Davydov 2018-06-07 14:02 ` [PATCH v3 0/3] Allow to build indexes for vinyl spaces Konstantin Osipov
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.1528368754.git.vdavydov.dev@gmail.com \ --to=vdavydov.dev@gmail.com \ --cc=kostja@tarantool.org \ --cc=tarantool-patches@freelists.org \ --subject='Re: [PATCH v3 0/3] Allow to build indexes for vinyl spaces' \ /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