[Tarantool-patches] [PATCH v3 2/2] memtx: allow quota overuse for truncation and deletion

Ilya Kosarev i.kosarev at tarantool.org
Wed Feb 5 22:11:26 MSK 2020


You mean using some specific extent_pool, like indext_extent_pool
with it's memtx_index_extent_reserve() and memtx_index_extent_alloc()?
  
>Вторник, 4 февраля 2020, 23:06 +03:00 от Konstantin Osipov <kostja.osipov at gmail.com>:
> 
>* Ilya Kosarev < i.kosarev at tarantool.org > [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
 
 
--
Ilya Kosarev
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.tarantool.org/pipermail/tarantool-patches/attachments/20200205/541f273a/attachment.html>


More information about the Tarantool-patches mailing list