[Tarantool-patches] [PATCH v3 2/2] memtx: allow quota overuse for truncation and deletion
Ilya Kosarev
i.kosarev at tarantool.org
Tue Feb 4 21:56:02 MSK 2020
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 +03:00 от Konstantin Osipov kostja.osipov at gmail.com :
>* Ilya Kosarev < i.kosarev at tarantool.org> [20/01/20 21:18]:
> Trying to perform space:truncate() and space:delete() while reaching
> memtx_memory limit we could experience slab allocator failure. This
> behavior seems to be quite surprising for users. Now we are allowing
> to overuse memtx quota if needed for truncation or deletion, using flag
> in struct quota. After performing truncation or deletion we reset the
> flag so that quota can be overused any more.
>
>This is duplicating the tech already existing with reserved
>extents.
>
>Why not use the reserved extents instead? Why do you need to turn
>quota completely on/off?
>
>
>--
>Konstantin Osipov, Moscow, Russia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.tarantool.org/pipermail/tarantool-patches/attachments/20200204/bfa04498/attachment.html>
More information about the Tarantool-patches
mailing list