[Tarantool-patches] [PATCH v4 0/4] Safe truncation and deletion

Ilya Kosarev i.kosarev at tarantool.org
Sat Feb 15 00:12:06 MSK 2020


I sent 2 versions of this patchset. Here is the second one
with discussed approach:
https://lists.tarantool.org/pipermail/tarantool-patches/2020-February/014191.html
And tarantool/small patch:
https://lists.tarantool.org/pipermail/tarantool-patches/2020-February/014190.html 
>Суббота, 15 февраля 2020, 0:00 +03:00 от Konstantin Osipov <kostja.osipov at gmail.com>:
> 
>* Ilya Kosarev < i.kosarev at tarantool.org > [20/02/14 22:41]:
>> Changes in v2:
>> Approach changed completely: now we are not trying to allocate
>> service tuples in some safe way, but increasing memtx quota so
>> that space:truncate() and space:delete() won't fail on allocation.
>
>
>>
>> Changes in v3:
>> Now we are not increasing memtx quota. Instead we just set a flag to
>> allow quota overuse for space:truncate() and space:delete().
>>
>> Changes in v4:
>> improved quota on/off flag style
>> took into account fail cases for box_upsert in space_truncate
>> now we are switching the quota off for deletion only in case there is
>> OutOfMemory error in diag
>> removed extra checks
>> added tests
>
>Is it intentional that first you discuss the
>recommendation I make on the mailing list, and then silently
>disregard it?
>
>--
>Konstantin Osipov, Moscow, Russia 
 
 
--
Ilya Kosarev
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.tarantool.org/pipermail/tarantool-patches/attachments/20200215/0fac75b7/attachment.html>


More information about the Tarantool-patches mailing list