[PATCH v2 1/2] memtx: rework background garbage collection procedure

Konstantin Osipov kostja at tarantool.org
Wed May 23 20:56:55 MSK 2018


* Vladimir Davydov <vdavydov.dev at gmail.com> [18/05/22 20:29]:
>  {
> -	index_def_delete(index->def);
> +	/*
> +	 * Free index_def after destroying the index as
> +	 * engine might still need it.
> +	 */

For what? 

> +	struct index_def *def = index->def;
>  	index->vtab->destroy(index);
> +	index_def_delete(def);
>  }
  
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