<HTML><BODY><div><div>I sent 2 versions of this patchset. Here is the second one</div><div>with discussed approach:</div><div><a href="https://lists.tarantool.org/pipermail/tarantool-patches/2020-February/014191.html">https://lists.tarantool.org/pipermail/tarantool-patches/2020-February/014191.html</a></div><div>And tarantool/small patch:</div><div>https://lists.tarantool.org/pipermail/tarantool-patches/2020-February/014190.html</div><blockquote style="border-left:1px solid #0857A6; margin:10px; padding:0 0 0 10px;">Суббота, 15 февраля 2020, 0:00 +03:00 от Konstantin Osipov <kostja.osipov@gmail.com>:<br> <div id=""><div class="js-helper js-readmsg-msg"><style type="text/css"></style><div><div id="style_15817140070383283802_BODY">* Ilya Kosarev <<a href="/compose?To=i.kosarev@tarantool.org">i.kosarev@tarantool.org</a>> [20/02/14 22:41]:<br>> Changes in v2:<br>> Approach changed completely: now we are not trying to allocate<br>> service tuples in some safe way, but increasing memtx quota so<br>> that space:truncate() and space:delete() won't fail on allocation.<br><br><br>><br>> Changes in v3:<br>> Now we are not increasing memtx quota. Instead we just set a flag to<br>> allow quota overuse for space:truncate() and space:delete().<br>><br>> Changes in v4:<br>> improved quota on/off flag style<br>> took into account fail cases for box_upsert in space_truncate<br>> now we are switching the quota off for deletion only in case there is<br>> OutOfMemory error in diag<br>> removed extra checks<br>> added tests<br><br>Is it intentional that first you discuss the<br>recommendation I make on the mailing list, and then silently<br>disregard it?<br><br>--<br>Konstantin Osipov, Moscow, Russia</div></div></div></div></blockquote> <div> </div><div data-signature-widget="container"><div data-signature-widget="content"><div>--<br>Ilya Kosarev</div></div></div><div> </div></div></BODY></HTML>