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

Konstantin Osipov kostja.osipov at gmail.com
Fri Jan 31 11:21:30 MSK 2020

* 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

Why not use the reserved extents instead? Why do you need to turn
quota completely on/off?

Konstantin Osipov, Moscow, Russia

More information about the Tarantool-patches mailing list