[PATCH 02/13] vinyl: force deletion of runs left from unfinished indexes on restart

Konstantin Osipov kostja at tarantool.org
Fri Oct 5 00:44:13 MSK 2018

* Vladimir Davydov <vdavydov.dev at gmail.com> [18/10/05 00:11]:
> If an instance is restarted while building a new vinyl index, there will
> probably be some run files left. Currently, we won't delete such files
> until box.snapshot() is called, even though there's no point in keeping
> them around. Let's tweak vy_gc_lsm() so that it marks all runs that
> belong to an unfinished index as incomplete to force vy_gc() to remove
> them immediately after recovery is complete.

I don't see a point yet, but I assume you need it for something,
so OK to push.


Konstantin Osipov, Moscow, Russia, +7 903 626 22 32
http://tarantool.io - www.twitter.com/kostja_osipov

More information about the Tarantool-patches mailing list