From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp44.i.mail.ru (smtp44.i.mail.ru [94.100.177.104]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 626A1469719 for ; Mon, 19 Oct 2020 12:27:51 +0300 (MSK) From: Aleksandr Lyapunov Date: Mon, 19 Oct 2020 12:26:39 +0300 Message-Id: <1603099601-17971-1-git-send-email-alyapunov@tarantool.org> Subject: [Tarantool-patches] [PATCH 0/2] Make tree hint optional List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: tarantool-patches@dev.tarantool.org Add an option that disables hints in tree indexes. https://github.com/tarantool/tarantool/issues/4927 https://github.com/tarantool/tarantool/tree/alyapunov/gh-4927-optional-hints Aleksandr Lyapunov (1): memtx: make tuple compare hints optional Ilya Kosarev (1): memtx: move memtx_tree.c to memtx_tree.cc src/box/CMakeLists.txt | 2 +- src/box/index_def.c | 2 + src/box/index_def.h | 6 + src/box/lua/schema.lua | 53 ++ src/box/lua/space.cc | 7 + src/box/memtx_engine.c | 2 + src/box/memtx_tree.c | 1523 ------------------------------- src/box/memtx_tree.cc | 1723 +++++++++++++++++++++++++++++++++++ src/lib/salad/bps_tree.h | 19 + test/box/alter.result | 103 ++- test/box/alter.test.lua | 34 + test/box/errinj.result | 3 +- test/box/tree_pk.result | 314 +++++++ test/box/tree_pk.test.lua | 115 +++ test/box/tree_pk_multipart.result | 153 ++++ test/box/tree_pk_multipart.test.lua | 64 ++ 16 files changed, 2595 insertions(+), 1528 deletions(-) delete mode 100644 src/box/memtx_tree.c create mode 100644 src/box/memtx_tree.cc -- 2.7.4