[tarantool-patches] Re: [PATCH 08/25] vinyl: remove env argument of vy_check_is_unique_{primary,secondary}

  • From: Konstantin Osipov <kostja@xxxxxxxxxxxxx>
  • To: tarantool-patches@xxxxxxxxxxxxx
  • Date: Tue, 31 Jul 2018 23:45:45 +0300

* Vladimir Davydov <vdavydov.dev@xxxxxxxxx> [18/07/27 16:55]:

Besides vy_check_is_unique, other callers of vy_check_is_unique_primary
and vy_check_is_unique_secondary are only called when vinyl engine is
online. So let's move the optimization that skips uniqueness check on
recovery to vy_check_is_unique and remove the env argument.

OK to push.


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

Other related posts: