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

Konstantin Osipov kostja.osipov at gmail.com
Tue Feb 4 23:06:13 MSK 2020


* 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


More information about the Tarantool-patches mailing list