From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id D5507260FF for ; Tue, 5 Feb 2019 11:37:30 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Q2Q7cIpTzxug for ; Tue, 5 Feb 2019 11:37:30 -0500 (EST) Received: from smtp10.mail.ru (smtp10.mail.ru [94.100.181.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 2B7A226086 for ; Tue, 5 Feb 2019 11:37:29 -0500 (EST) Received: by smtp10.mail.ru with esmtpa (envelope-from ) id 1gr3iy-00041P-39 for tarantool-patches@freelists.org; Tue, 05 Feb 2019 19:37:28 +0300 Date: Tue, 5 Feb 2019 19:37:27 +0300 From: Konstantin Osipov Subject: [tarantool-patches] Re: [PATCH 1/9] vinyl: update lsm->range_heap in one go on dump completion Message-ID: <20190205163727.GA6811@chai> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-subscribe: List-owner: List-post: List-archive: To: tarantool-patches@freelists.org * Vladimir Davydov [19/01/21 06:58]: > Upon LSM tree dump completion, we iterate over all ranges of the LSM > tree to update their priority and the position in the compaction heap. > Since typically we need to update all ranges, we better use update_all > heap method instead of updating the heap entries one by one. Trivial, OK to push. -- Konstantin Osipov, Moscow, Russia, +7 903 626 22 32 http://tarantool.io - www.twitter.com/kostja_osipov