From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-f195.google.com (mail-lj1-f195.google.com [209.85.208.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id CF09A46970E for ; Tue, 4 Feb 2020 23:06:15 +0300 (MSK) Received: by mail-lj1-f195.google.com with SMTP id r19so19987099ljg.3 for ; Tue, 04 Feb 2020 12:06:15 -0800 (PST) Date: Tue, 4 Feb 2020 23:06:13 +0300 From: Konstantin Osipov Message-ID: <20200204200613.GA17206@atlas> References: <45d9f491f91d93c8835ca725c234f7113c0d2aa8.1579541242.git.i.kosarev@tarantool.org> <20200131082130.GC10740@atlas> <1580842562.579726664@f194.i.mail.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1580842562.579726664@f194.i.mail.ru> Subject: Re: [Tarantool-patches] [PATCH v3 2/2] memtx: allow quota overuse for truncation and deletion List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Ilya Kosarev Cc: tarantool-patches@dev.tarantool.org, v.shpilevoy@tarantool.org * Ilya Kosarev [20/02/04 22:00]: > Hi! > Thanks for your comments. > When performing space: truncate(), we are executing > simple upsert. How can we distinguish it from any other upsert > to use reserved extents tech? пятница, 31 января 2020г., 11:21 What code path is troubling you? Just like you disable quota, you can "enable" use of reserved extents. You can use the same injection points for this code, the only difference is that you don't allocate memory beyond quota, but rather use pre-allocated one, within the quota. -- Konstantin Osipov, Moscow, Russia